react-toastify
Version:
React notification made easy
9 lines (8 loc) • 326 B
TypeScript
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;