import React from 'react'; import './Toast.scss'; interface ToasterProps { /** * toaster to open */ isOpen: boolean; /** * Type of toaster eg: success | warning | info | danger */ variant: 'success' | 'warning' | 'danger' | 'info'; /** * Options for where to show toaster */ displayPosition: 'top' | 'bottom' | 'top-right' | 'bottom-right' | 'top-left' | 'bottom-left'; /** * Header Title */ toastTitle: string; /** * Actual content to be shown in toaster, eg: warning toastMessage or success */ toastMessage?: string; /** * Event for Cancel button */ onCancelClick?: () => void; /** * Event for Cancel button */ onMouseOverOnButton?: () => void; /** * Number of milliseconds Toaster need to display */ displayDuration?: number; /** * label for close button */ closeButtonLabel?: React.ReactNode; } declare const Toaster: React.FC; export default Toaster;