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:
աӄա 2024-06-14 10:23:44 +08:00 committed by GitHub
parent d8ceab3579
commit 995041afc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -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",

View File

@ -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} />