UNPKG

@trellixio/roaster-coffee

Version:
22 lines 796 B
import * as React from 'react'; export interface ToastProviderProps { /** * The number of milliseconds before the toast automatically closes. Set to false to disable. * @defaultValue 5000 */ autoClose?: number | false; /** * The maximum number of toasts that can be displayed at once. * @defaultValue 5 */ limit?: number; /** The child elements to render within the ToastProvider. */ children?: React.ReactNode; /** CSS class name(s) to apply to the outermost container element. */ className?: string; } export declare function ToastsProvider({ className, autoClose, limit, children }: ToastProviderProps): React.JSX.Element; export declare namespace ToastsProvider { var displayName: string; } //# sourceMappingURL=index.d.ts.map