UNPKG

493 BTypeScriptView Raw
1import * as React from 'react';
2import { Sizes } from 'react-bootstrap';
3
4declare namespace Alert {
5 export interface AlertProps extends React.HTMLProps<Alert> {
6 bsSize?: Sizes;
7 bsStyle?: string;
8 bsClass?: string;
9 closeLabel?: string;
10 /** @deprecated since v0.29.0 */dismissAfter?: number;
11 // TODO: Add more specific type
12 onDismiss?: Function;
13 }
14}
15declare class Alert extends React.Component<Alert.AlertProps> { }
16export = Alert;