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) 297 B
/// <reference types="react" /> import { IToast } from './toast-provider'; interface IToastRenderer { toasts: IToast[]; position?: string; removeToast(id: number): void; defaultTimer: number; } export declare const ToastRenderer: (props: IToastRenderer) => JSX.Element; export {};