UNPKG

mega-toasts

Version:

A highly configurable notification/toast component with individual toast state management capabilities.

24 lines (20 loc) 485 B
/// <reference types="svelte" /> import { SvelteComponentTyped } from 'svelte'; import { Theme, ToastProps } from './common'; export interface BootstrapToastProps { /** * Default theme for all toasts * @default 'light' */ theme?: Theme; /** * Default theme for all toasts * @default {} */ data?: ToastProps; } export default class BootstrapToast extends SvelteComponentTyped< BootstrapToastProps, {}, { ['close-icon']: {}; extra: {}; icon: {} } > {}