UNPKG

react-tiny-toast

Version:

Aim of this package is to keep only bundles that are critical to your application for the implementation of toast notifications.

22 lines (21 loc) 644 B
import toast from './toast'; import ToastContainer from './ToastContainer'; export declare const POSITIONS: { readonly TOP_CENTER: "top-center"; readonly TOP_LEFT: "top-left"; readonly TOP_RIGHT: "top-right"; readonly BOTTOM_LEFT: "bottom-left"; readonly BOTTOM_RIGHT: "bottom-right"; readonly BOTTOM_CENTER: "bottom-center"; }; export declare const VARIANTS: { readonly SUCCESS: "success"; readonly DANGER: "danger"; readonly WARNING: "warning"; readonly DEFAULT: "default"; }; export declare const ACTIONS: { readonly ADD: "ADD"; readonly REMOVE: "REMOVE"; }; export { toast, ToastContainer };