doj-react-adminlte
Version:
Simple and easy-to-use AdminLTE components for React
31 lines (26 loc) • 733 B
TypeScript
import * as React from 'react';
export interface AlertProps {
/**
* Alert Icons. Check AdminLTE for the list of icons available.
*/
iconClass?: string;
/**
* If true, displays the component.
*/
show?: boolean;
/**
* The title header of your Alert component.
*/
title?: string;
/**
* Distinguishes an alert. It can be a danger, warning, info and success alert.
*/
type?: string;
/**
* The function that is binded in this prop will execute after you click the close button.
*/
onClose?: (...args: any[])=>any;
}
export default class Alert extends React.Component<AlertProps, any> {
render(): JSX.Element;
}