UNPKG

@senka-ai/ui

Version:

A modern, type-safe Svelte 5 UI component library with full theme support, accessibility standards, and robust state management patterns

15 lines 653 B
import type { ButtonLikeComponent, IconComponent, InteractiveHandlers } from '../../type/component'; /** * Button component props interface * Extends core button functionality with icon support and interaction handlers */ interface Props extends ButtonLikeComponent, IconComponent, InteractiveHandlers { /** Size of the icons in pixels @default 16 */ iconSize?: number; /** HTML button type attribute @default 'button' */ type?: 'button' | 'submit' | 'reset'; } declare const Button: import("svelte").Component<Props, {}, "">; type Button = ReturnType<typeof Button>; export default Button; //# sourceMappingURL=Button.svelte.d.ts.map