@senka-ai/ui
Version:
A modern, type-safe Svelte 5 UI component library with full theme support, accessibility standards, and robust state management patterns
16 lines • 536 B
TypeScript
import type { BaseProps, ChangeHandler, InteractiveHandlers } from '../../type/component';
interface TabItem {
id: string;
label: string;
disabled?: boolean;
}
interface Props extends BaseProps, ChangeHandler<string>, InteractiveHandlers {
tabs: TabItem[];
activeTab?: string;
size?: 'small' | 'medium' | 'large';
fullWidth?: boolean;
}
declare const Tabs: import("svelte").Component<Props, {}, "activeTab">;
type Tabs = ReturnType<typeof Tabs>;
export default Tabs;
//# sourceMappingURL=Tabs.svelte.d.ts.map