hoda-react
Version:
<div align="center"> <h1>:construction: flowbite-react (unreleased) :construction:</h1> <p> <a href="https://flowbite-react.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src=".github/assets/flowbite-react-github.png"> <
13 lines (12 loc) • 449 B
TypeScript
/// <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 {};