UNPKG

@cbinsights/fds

Version:
15 lines (14 loc) 609 B
import { ToastProps } from './Toast'; export interface ToasterProps { /** A UUID for the toast. Each new toast should have a new UUID. */ id?: string; /** Specifies whether Toast is open or not */ isOpen?: boolean; /** Should this toast auto-dismiss itself? */ isAutoDismiss?: boolean; /** Controls the display for your specific toast. */ toastInstance?: ToastProps; } export declare const Toaster: ({ isAutoDismiss, isOpen, toastInstance, id, }: ToasterProps) => JSX.Element; declare const ToasterWrapper: (props: ToasterProps) => JSX.Element; export default ToasterWrapper;