UNPKG

react-toastify

Version:
9 lines (8 loc) 326 B
import * as React from 'react'; import { TypeOptions } from '../types'; export interface CloseButtonProps { closeToast: (e: React.MouseEvent<HTMLElement>) => void; type: TypeOptions; ariaLabel?: string; } export declare function CloseButton({ closeToast, type, ariaLabel }: CloseButtonProps): JSX.Element;