UNPKG

345 BTypeScriptView Raw
1import React from 'react';
2import { Theme, TypeOptions } from '../types';
3export interface CloseButtonProps {
4 closeToast: (e: React.MouseEvent<HTMLElement>) => void;
5 type: TypeOptions;
6 ariaLabel?: string;
7 theme: Theme;
8}
9export declare function CloseButton({ closeToast, theme, ariaLabel }: CloseButtonProps): React.JSX.Element;