UNPKG

toast-ease

Version:

An opinionated toast component.

14 lines (11 loc) 414 B
import React from 'react'; import { T as Toast } from './state-C7j7gv9i.js'; export { t as toast } from './state-C7j7gv9i.js'; type ToastItemProps = Toast; declare const ToastItem: (toast: ToastItemProps) => React.JSX.Element; type ToastBoxProps = { duration: number; toastsVisible: number; }; declare const ToastBox: (props: Partial<ToastBoxProps>) => React.JSX.Element; export { ToastBox, ToastItem };