UNPKG

@scrumble-nl/react-quick-toaster

Version:

A quick and easy wrapper around react-bootstrap toasters, you can toast from anywhere in your application with a few simple steps.

10 lines (9 loc) 249 B
/// <reference types="react" /> import { IToast } from './toast-provider'; interface props { toast: IToast; defaultTimer: number; removeToast(id: number): void; } declare const Toast: (props: props) => JSX.Element; export default Toast;