UNPKG

react-bootstrap

Version:

Bootstrap 5 components built with React

20 lines (19 loc) 1.08 kB
import * as React from 'react'; import { CloseButtonVariant } from './CloseButton'; import { Variant } from './types'; import { TransitionType } from './helpers'; export interface AlertProps extends React.HTMLAttributes<HTMLDivElement> { bsPrefix?: string; variant?: Variant; dismissible?: boolean; show?: boolean; onClose?: (a: any, b: any) => void; closeLabel?: string; closeVariant?: CloseButtonVariant; transition?: TransitionType; } declare const _default: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>> & { Link: import("./helpers").BsPrefixRefForwardingComponent<React.ForwardRefExoticComponent<import("@restart/ui/Anchor").AnchorProps & React.RefAttributes<HTMLAnchorElement>>, unknown>; Heading: import("./helpers").BsPrefixRefForwardingComponent<React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>, unknown>; }; export default _default;