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

19 lines 936 B
import type { BaseProps, SizedComponent, VariantComponent, ClickHandler, ChildrenComponent } from '../../type/component'; interface Props extends BaseProps, SizedComponent, VariantComponent<'primary' | 'secondary' | 'tertiary'>, ClickHandler, ChildrenComponent { /** Title text displayed on the filter button @default 'Filter' */ title?: string; /** Number of active filters to display in badge */ activeFilters?: number; /** Whether to show the filter icon @default true */ showIcon?: boolean; /** Custom icon to display instead of default filter icon */ icon?: any; /** Size of the icon in pixels @default 16 */ iconSize?: number; /** Whether the filter is in an active state @default false */ active?: boolean; } declare const Filter: import("svelte").Component<Props, {}, "">; type Filter = ReturnType<typeof Filter>; export default Filter; //# sourceMappingURL=Filter.svelte.d.ts.map