react-atom-toast
Version:
Tiny & Headless toast for React
17 lines (14 loc) • 513 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 = InternalToastOptions & {
onOpenChange: (open: boolean) => void;
onEnter: (height: number) => void;
onUpdate: (height: number) => void;
onExited: (height: number) => void;
offsetHeight: number;
hover: boolean;
};
declare function Toast(props: Props): react_jsx_runtime.JSX.Element;
export { Toast as default };