@cbinsights/fds
Version:
Form: A design system by CB Insights
15 lines (14 loc) • 609 B
TypeScript
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;