react-cool-toast
Version:
A lightweight, customizable toast notification library for React
7 lines (6 loc) • 420 B
TypeScript
export { ToastProvider, useToast } from './ToastContext';
export { Toaster } from './Toaster';
export { ToastComponent as Toast } from './ToastComponent';
export { default as toast } from './toast';
export { playToastSound, shouldPlaySound } from './sounds';
export type { ToastType, ToastTheme, ToastSound, ToastAction, ToastOptions, ToastPosition, Toast as ToastData, ToastContextType, ToasterProps, } from './types';