UNPKG

597 BTypeScriptView Raw
1import React = require('react');
2export declare type MessageType = keyof AlertMessageIcon;
3interface AlertMessageIcon {
4 INFO: string;
5 SUCCESS: string;
6 WARNING: string;
7 ERROR: string;
8}
9declare const AlertMessageIcon: {
10 INFO: string;
11 SUCCESS: string;
12 WARNING: string;
13 ERROR: string;
14};
15export interface AlertMessageProps {
16 type: MessageType;
17 header: string;
18 children?: React.ReactNode;
19}
20export declare class AlertMessage extends React.Component<AlertMessageProps> {
21 render(): React.ReactNode;
22}
23export {};
24//# sourceMappingURL=alert-message.d.ts.map
\No newline at end of file