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

Function TabsList

packages/ui/src/components/tabs.tsx:33–45  ·  view source on GitHub ↗
(props: TabsListProps)

Source from the content-addressed store, hash-verified

31}
32
33function TabsList(props: TabsListProps) {
34 const [split, rest] = splitProps(props, ["class", "classList"])
35 return (
36 <Kobalte.List
37 {...rest}
38 data-slot="tabs-list"
39 classList={{
40 ...(split.classList ?? {}),
41 [split.class ?? ""]: !!split.class,
42 }}
43 />
44 )
45}
46
47function TabsTrigger(props: ParentProps<TabsTriggerProps>) {
48 const [split, rest] = splitProps(props, [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected