mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
docs(tooltip): supplement correct style path (#3183)
* docs(tooltip): supplement correct style path * chore(docs): move the note below import tabs
This commit is contained in:
parent
d8ceab3579
commit
995041afc3
@ -398,7 +398,8 @@
|
||||
"key": "tooltip",
|
||||
"title": "Tooltip",
|
||||
"keywords": "tooltip, hint, descriptive message, hover info",
|
||||
"path": "/docs/components/tooltip.mdx"
|
||||
"path": "/docs/components/tooltip.mdx",
|
||||
"updated": true
|
||||
},
|
||||
{
|
||||
"key": "user",
|
||||
|
||||
@ -28,7 +28,6 @@ Tooltips display a brief, informative message that appears when a user interacts
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
## Import
|
||||
|
||||
<ImportTabs
|
||||
@ -38,6 +37,8 @@ Tooltips display a brief, informative message that appears when a user interacts
|
||||
}}
|
||||
/>
|
||||
|
||||
> For individual installation, please note that you should add `./node_modules/@nextui-org/theme/dist/components/popover.js` to your `tailwind.config.js` file instead since tooltip reuses popover styles.
|
||||
|
||||
## Usage
|
||||
|
||||
<CodeDemo title="Usage" files={tooltipContent.usage} />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user