9 lines
326 B
TypeScript
9 lines
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;
|