CloseButton.d.ts 345 B

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