UNPKG

565 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 | undefined;
7 bsStyle?: string | undefined;
8 bsClass?: string | undefined;
9 closeLabel?: string | undefined;
10 /** @deprecated since v0.29.0 */ dismissAfter?: number | undefined;
11 // TODO: Add more specific type
12 onDismiss?: Function | undefined;
13 }
14}
15declare class Alert extends React.Component<Alert.AlertProps> {}
16export = Alert;