(props: ParentProps<TabsContentProps>)
| 80 | } |
| 81 | |
| 82 | function TabsContent(props: ParentProps<TabsContentProps>) { |
| 83 | const [split, rest] = splitProps(props, ["class", "classList", "children"]) |
| 84 | return ( |
| 85 | <Kobalte.Content |
| 86 | {...rest} |
| 87 | data-slot="tabs-content" |
| 88 | classList={{ |
| 89 | ...(split.classList ?? {}), |
| 90 | [split.class ?? ""]: !!split.class, |
| 91 | }} |
| 92 | > |
| 93 | {split.children} |
| 94 | </Kobalte.Content> |
| 95 | ) |
| 96 | } |
| 97 | |
| 98 | export const Tabs = Object.assign(TabsRoot, { |
| 99 | List: TabsList, |
nothing calls this directly
no outgoing calls
no test coverage detected