MCPcopy Create free account
hub / github.com/arctic-cli/interface / TabsContent

Function TabsContent

packages/ui/src/components/tabs.tsx:82–96  ·  view source on GitHub ↗
(props: ParentProps<TabsContentProps>)

Source from the content-addressed store, hash-verified

80}
81
82function 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
98export const Tabs = Object.assign(TabsRoot, {
99 List: TabsList,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected