Files
Speedtest-Tracker/conf/site/node_modules/react-toastify/dist/components/CloseButton.d.ts
Henry Whitaker acccfced1b Updated to v1.3.5
2020-05-12 11:57:22 +01:00

9 lines
313 B
TypeScript

import React from 'react';
import { TypeOptions } from '../utils';
export interface CloseButtonProps {
closeToast: (e: React.MouseEvent<HTMLElement>) => void;
type: TypeOptions;
ariaLabel?: string;
}
export declare function CloseButton({ closeToast, type, ariaLabel }: CloseButtonProps): JSX.Element;