From 2261622b26f788050a38489ce3304a25f9fe8ea7 Mon Sep 17 00:00:00 2001 From: Gabriel Jablonski Date: Tue, 10 Oct 2023 20:59:36 -0300 Subject: [PATCH] docs: readme admonition --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 44f29e2b..85f41c59 100755 --- a/README.md +++ b/README.md @@ -76,7 +76,8 @@ React Tooltip is proud to be sponsored by [Frigade](https://frigade.com/?source= 1 . Import the CSS file to set default styling. -> :warning: If you are using a version before than `v5.13.0`, you must import the CSS file or the tooltip won't show! +> [!WARNING]\ +> If you are using a version before than `v5.13.0`, you must import the CSS file or the tooltip won't show! ```js import 'react-tooltip/dist/react-tooltip.css' @@ -108,6 +109,7 @@ import { Tooltip as ReactTooltip } from 'react-tooltip' 4 . Include the `` element. +> [!NOTE]\ > Don't forget to set the id, it won't work without it! ```jsx