UNPKG

claritykit-svelte

Version:

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

37 lines 1.26 kB
import type { ToastType, ToastPosition } from './types.js'; type $$ComponentProps = { type?: ToastType; title?: string; message?: string; duration?: number; dismissible?: boolean; showIcon?: boolean; actionText?: string; position?: ToastPosition; onAction?: () => void; ondismiss?: () => void; onaction?: () => 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 Toast: $$__sveltets_2_IsomorphicComponent<$$ComponentProps, { dismiss: CustomEvent<void>; action: CustomEvent<void>; } & { [evt: string]: CustomEvent<any>; }, {}, {}, "">; type Toast = InstanceType<typeof Toast>; export default Toast; //# sourceMappingURL=Toast.svelte.d.ts.map