docs: fix Tab docs
This commit is contained in:
parent
fc4e11f5f9
commit
55c9959384
@ -52,8 +52,7 @@ import { TabProvider, TabTrigger, TabContent, TabList } from "@components/Tabs";
|
||||
|
||||
> Note:
|
||||
>
|
||||
> TabContent requires a element as children, with className prop.
|
||||
> It will add `hidden` tailwind classname if the tab is not active.
|
||||
> TabContent requires a element as children.
|
||||
> There is no default element in the tab, so you have to provide it.
|
||||
|
||||
## Props
|
||||
|
Loading…
x
Reference in New Issue
Block a user