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.

8 lines (7 loc) 294 B
/// <reference types="react" /> import { ToasterHook } from './toaster'; export declare const ToastConsumer: ({ children }: { children: any; }) => JSX.Element; export declare const withToaster: (Comp: any) => (props: any) => JSX.Element; export declare const useToaster: () => ToasterHook;