GoScrobble/web/node_modules/reactstrap/lib/Alert.d.ts

24 lines
627 B
TypeScript

import * as React from 'react';
import { CSSModule } from './index';
import { FadeProps } from './Fade';
export interface UncontrolledAlertProps
extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
closeClassName?: string;
closeAriaLabel?: string;
cssModule?: CSSModule;
color?: string;
fade?: boolean;
tag?: React.ElementType;
transition?: FadeProps;
innerRef?: React.Ref<HTMLElement>;
}
export interface AlertProps extends UncontrolledAlertProps {
isOpen?: boolean;
toggle?: React.MouseEventHandler<any>;
}
declare class Alert extends React.Component<AlertProps> {}
export default Alert;