UNPKG

welcome-ui

Version:

Customizable design system with react, typescript, tailwindcss and ariakit.

10 lines (9 loc) 778 B
import { TextProps } from '../Text/types'; import { ToastOptions } from './types'; export declare const toast: (component: JSX.Element, options?: ToastOptions) => string; export declare const Toast: import('react').FC<import('react-hot-toast').ToasterProps> & { Growl: import('react').ForwardRefExoticComponent<Omit<import('./types').GrowlProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>; Snackbar: import('react').ForwardRefExoticComponent<Omit<import('./types').SnackbarProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>; SnackbarAction: import('../../utils').FunctionComponentWithAs<"button", import('../Button/types').ButtonProps>; Title: ({ children, className, ...rest }: TextProps) => import("react/jsx-runtime").JSX.Element; };