UNPKG

bro-toastify

Version:

A framework-agnostic toast notification library

13 lines (12 loc) 492 B
import React from 'react'; import type { BroToastify, BroToastifyContainerOptions } from '../../core/types'; import '../../index.css'; export declare const Toaster: { ({ position, newestOnTop, dismissible, animation, }: { position?: BroToastify['position']; newestOnTop?: boolean | undefined; dismissible?: boolean | undefined; animation?: BroToastifyContainerOptions['animation']; }): React.ReactPortal | null; displayName: string; };