MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / TabProps

Interface TabProps

src/showcase/components/tabs/IconTabs.tsx:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40const transition = { delay: 0.1, type: 'spring', bounce: 0, duration: 0.35 }
41
42interface TabProps {
43 text: string
44 selected: boolean
45 setSelected: (tab: Object) => void
46 children: ReactNode
47 index: number
48}
49
50const Tab = ({ text, selected, setSelected, index, children }: TabProps) => {
51 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected