Skip to content

Commit 8a9448c

Browse files
docs: readme admonition
1 parent 506d1a5 commit 8a9448c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ React Tooltip is proud to be sponsored by [Frigade](https://frigade.com/?source=
7676

7777
1 . Import the CSS file to set default styling.
7878

79-
> :warning: If you are using a version before than `v5.13.0`, you must import the CSS file or the tooltip won't show!
79+
> [!WARNING]\
80+
> If you are using a version before than `v5.13.0`, you must import the CSS file or the tooltip won't show!
8081
8182
```js
8283
import 'react-tooltip/dist/react-tooltip.css'
@@ -108,6 +109,7 @@ import { Tooltip as ReactTooltip } from 'react-tooltip'
108109

109110
4 . Include the `<Tooltip />` element.
110111

112+
> [!NOTE]\
111113
> Don't forget to set the id, it won't work without it!
112114
113115
```jsx

0 commit comments

Comments
 (0)