docs: fix Tab docs

This commit is contained in:
p-sw 2024-06-03 22:09:16 +09:00
parent fc4e11f5f9
commit 55c9959384

View File

@ -52,8 +52,7 @@ import { TabProvider, TabTrigger, TabContent, TabList } from "@components/Tabs";
> Note: > Note:
> >
> TabContent requires a element as children, with className prop. > TabContent requires a element as children.
> It will add `hidden` tailwind classname if the tab is not active.
> There is no default element in the tab, so you have to provide it. > There is no default element in the tab, so you have to provide it.
## Props ## Props