UNPKG

claritykit-svelte

Version:

A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility

37 lines 1.31 kB
import type { AlertBannerType, AlertBannerSize, AlertBannerAction } from './types.js'; type $$ComponentProps = { type?: AlertBannerType; title?: string; message?: string; size?: AlertBannerSize; dismissible?: boolean; showIcon?: boolean; actions?: AlertBannerAction[]; ondismiss?: () => void; children?: any; }; interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } declare const AlertBanner: $$__sveltets_2_IsomorphicComponent<$$ComponentProps, { dismiss: CustomEvent<void>; action: CustomEvent<{ action: AlertBannerAction; index: number; }>; } & { [evt: string]: CustomEvent<any>; }, {}, {}, "">; type AlertBanner = InstanceType<typeof AlertBanner>; export default AlertBanner; //# sourceMappingURL=AlertBanner.svelte.d.ts.map