GoScrobble/web/node_modules/react-toastify/dist/components/CloseButton.d.ts

9 lines
326 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
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;