mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
24 lines
627 B
TypeScript
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;
|