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