UNPKG

mt-flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

21 lines (20 loc) 588 B
import type { ComponentProps, FC, PropsWithChildren } from 'react'; import type { DeepPartial } from '../../'; import type { Duration } from './ToastContext'; export interface FlowbiteToastTheme { root: { base: string; closed: string; }; toggle: { base: string; icon: string; }; } export interface ToastProps extends PropsWithChildren<ComponentProps<'div'>> { duration?: Duration; theme?: DeepPartial<FlowbiteToastTheme>; } export declare const Toast: FC<ToastProps> & { Toggle: FC<import("./ToastToggle").ToastToggleProps>; };