UNPKG

modern-react-ui-components

Version:

Modern React + TypeScript component library with Toaster, Input, and DatePicker components

14 lines (13 loc) 493 B
import { default as React } from 'react'; import { ToasterProps } from './Toaster'; export interface ToastInstance extends Omit<ToasterProps, 'onDismiss'> { id: string; } export interface ToastContainerProps { toasts: ToastInstance[]; onDismiss: (id: string) => void; position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; } declare const ToastContainer: React.FC<ToastContainerProps>; export default ToastContainer; //# sourceMappingURL=ToastContainer.d.ts.map