react-cool-toast
Version:
A lightweight, customizable toast notification library for React
11 lines (10 loc) • 315 B
TypeScript
import React from 'react';
import { Toast as ToastType } from './types';
import './Toast.css';
interface ToastProps {
toast: ToastType;
onRemove: (id: string) => void;
onUpdate: (_id: string, _updates: Partial<ToastType>) => void;
}
export declare const ToastComponent: React.FC<ToastProps>;
export {};