UNPKG

as-toast

Version:

Simple and customizable toast notifications for Svelte

20 lines (19 loc) 611 B
import { SvelteComponentTyped } from "svelte"; import type { SvelteComponent } from 'svelte'; import type { Toast } from './toastStore'; declare const __propDef: { props: { toast: Toast; cancelIcon: typeof SvelteComponent; }; events: { [evt: string]: CustomEvent<any>; }; slots: {}; }; export declare type ToastProps = typeof __propDef.props; export declare type ToastEvents = typeof __propDef.events; export declare type ToastSlots = typeof __propDef.slots; export default class Toast extends SvelteComponentTyped<ToastProps, ToastEvents, ToastSlots> { } export {};