react-atom-toast
Version:
Tiny & Headless toast for React
14 lines (11 loc) • 429 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { InternalToastOptions } from '../types.js';
import 'react';
import 'react-transition-preset/types';
type Props = {
toasts: InternalToastOptions[];
onClosed: (key: string) => void;
onOpenChange: (key: string, open: boolean) => void;
};
declare function ToastContainer(props: Props): react_jsx_runtime.JSX.Element;
export { ToastContainer as default };