UNPKG

mt-flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

13 lines (12 loc) 449 B
/// <reference types="react" /> export type Duration = 75 | 100 | 150 | 200 | 300 | 500 | 700 | 1000; type ToastContext = { duration?: Duration; isClosed?: boolean; isRemoved?: boolean; setIsClosed: (isClosed: boolean) => void; setIsRemoved: (isRemoved: boolean) => void; }; export declare const ToastContext: import("react").Context<ToastContext | undefined>; export declare function useToastContext(): ToastContext; export {};