Skip to content

Commit 6d81ed9

Browse files
gabrieljablonskidanielbarion
authored andcommitted
docs: random fixes
1 parent b9fa34a commit 6d81ed9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/docs/examples/anchor-select.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import { Tooltip } from 'react-tooltip';
6363

6464
:::info
6565

66-
A CSS selector for a specific id begins with a `.`. Don't forget to put it before the class on your selector!
66+
A CSS selector for a specific class begins with a `.`. Don't forget to put it before the class on your selector!
6767

6868
:::
6969

@@ -99,7 +99,7 @@ Once you've understood how it works, you can write CSS selectors as complex as y
9999

100100
`[attr^='prefix']` can be read as "any element that has an attribute `attr` in which its value starts with `prefix`". Remove the `^` for an exact match.
101101

102-
This example uses the name attribute, but it works for any HTML attribute (id, class, ...).
102+
This example uses the `name` attribute, but it works for any HTML attribute (id, class, ...).
103103

104104
:::
105105

docs/docs/examples/render.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The `render` prop can be used to render the tooltip content dynamically based on
3939
The function signature is as follows:
4040

4141
```ts
42-
;(render: { content: string | null; activeAnchor: HTMLElement | null }) => ChildrenType
42+
(render: { content: string | null; activeAnchor: HTMLElement | null }) => ChildrenType
4343
```
4444

4545
- `content` is available for quick access to the `data-tooltip-content` attribute on the anchor element

0 commit comments

Comments
 (0)