1 | import * as React from 'react';
|
2 | import { TransitionCallbacks, TransitionComponent } from '@restart/ui/types';
|
3 | import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
4 | import { Variant } from './types';
|
5 | export interface ToastProps extends TransitionCallbacks, BsPrefixProps, React.HTMLAttributes<HTMLElement> {
|
6 | animation?: boolean;
|
7 | autohide?: boolean;
|
8 | delay?: number;
|
9 | onClose?: (e?: React.MouseEvent | React.KeyboardEvent) => void;
|
10 | show?: boolean;
|
11 | transition?: TransitionComponent;
|
12 | bg?: Variant;
|
13 | }
|
14 | declare const _default: BsPrefixRefForwardingComponent<"div", ToastProps> & {
|
15 | Body: BsPrefixRefForwardingComponent<"div", import("./ToastBody").ToastBodyProps>;
|
16 | Header: React.ForwardRefExoticComponent<import("./ToastHeader").ToastHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
17 | };
|
18 | export default _default;
|