UNPKG

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"> <

20 lines (19 loc) 645 B
import type { ComponentProps, FC, PropsWithChildren } from 'react'; import type { Duration } from './ToastContext'; export interface FlowbiteToastTheme { base: string; closed: string; removed: string; toggle: { base: string; icon: string; }; } export interface ToastProps extends PropsWithChildren<ComponentProps<'div'>> { duration?: Duration; } export declare const Toast: FC<ToastProps> & { Toggle: FC<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & { xIcon?: FC<import("react").SVGProps<SVGSVGElement>> | undefined; }>; };