UNPKG

829 BTypeScriptView Raw
1import * as React from 'react';
2import { CloseButtonVariant } from './CloseButton';
3import { Variant } from './types';
4import { TransitionType } from './helpers';
5export interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
6 bsPrefix?: string;
7 variant?: Variant;
8 dismissible?: boolean;
9 show?: boolean;
10 onClose?: (a: any, b: any) => void;
11 closeLabel?: string;
12 closeVariant?: CloseButtonVariant;
13 transition?: TransitionType;
14}
15declare const _default: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>> & {
16 Link: import("./helpers").BsPrefixRefForwardingComponent<"a", import("./AlertLink").AlertLinkProps>;
17 Heading: import("./helpers").BsPrefixRefForwardingComponent<"div", import("./AlertHeading").AlertHeadingProps>;
18};
19export default _default;