webcoreui
Version:
UI component and template library for Astro, Svelte, and React apps styled with Sass.
23 lines (19 loc) • 426 B
text/typescript
import type { Snippet } from 'svelte'
export type TabsProps = {
items: {
label: string
value: string
active?: boolean
disabled?: boolean
}[]
theme?: 'boxed' | 'outline'
vertical?: boolean
even?: boolean
className?: string
}
export type SvelteTabsProps = {
children: Snippet
} & TabsProps
export type ReactTabsProps = {
children: React.ReactNode
} & TabsProps