svelte-daisy-toaster
Version:
Svelte DaisyUI Toast Component
16 lines (15 loc) • 374 B
TypeScript
export default Toast;
type Toast = {
$on?(type: string, callback: (e: any) => void): () => void;
$set?(props: Partial<$$ComponentProps>): void;
};
declare const Toast: import("svelte").Component<{
toast: any;
isAnimate?: boolean;
position?: string;
}, {}, "">;
type $$ComponentProps = {
toast: any;
isAnimate?: boolean;
position?: string;
};