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.

11 lines (10 loc) 298 B
import React from 'react'; import { IToast } from './toast-provider'; interface IToastRenderer { toasts: IToast[]; position?: string; removeToast(id: number): void; defaultTimer: number; } export declare const ToastRenderer: (props: IToastRenderer) => React.JSX.Element; export {};