1 | import React from 'react';
|
2 | import { Variant } from './types';
|
3 | import SafeAnchor from './SafeAnchor';
|
4 | import { TransitionType } from './helpers';
|
5 | export interface AlertProps extends React.HTMLProps<HTMLDivElement> {
|
6 | bsPrefix?: string;
|
7 | variant?: Variant;
|
8 | dismissible?: boolean;
|
9 | show?: boolean;
|
10 | onClose?: (a: any, b: any) => void;
|
11 | closeLabel?: string;
|
12 | transition?: TransitionType;
|
13 | }
|
14 | declare const AlertHeading: import("./helpers").BsPrefixRefForwardingComponent<React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>, unknown>;
|
15 | declare const AlertLink: import("./helpers").BsPrefixRefForwardingComponent<SafeAnchor, unknown>;
|
16 | declare type Alert = React.ForwardRefExoticComponent<AlertProps> & {
|
17 | Link: typeof AlertLink;
|
18 | Heading: typeof AlertHeading;
|
19 | };
|
20 | declare const Alert: Alert;
|
21 | export default Alert;
|