UNPKG

485 BTypeScriptView Raw
1import * as React from 'react';
2import { CSSModule } from './utils';
3
4export interface ToastHeaderProps extends React.HTMLAttributes<HTMLElement> {
5 [key: string]: any;
6 tag?: React.ElementType;
7 cssModule?: CSSModule;
8 wrapTag?: React.ElementType;
9 toggle?: React.MouseEventHandler<any>;
10 icon?: string | React.ReactNode;
11 close?: React.ReactNode;
12 closeAriaLabel?: string;
13}
14
15declare class ToastHeader extends React.Component<ToastHeaderProps> {}
16export default ToastHeader;