katoikia-app/web-ui/web-react/node_modules/primereact/message/message.d.ts

19 lines
561 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import * as React from 'react';
type MessageSeverityType = 'success' | 'info' | 'warn' | 'error' | (string & {});
type MessageContentType = React.ReactNode | ((props: MessageProps) => React.ReactNode);
type MessageTextType = React.ReactNode | ((props: MessageProps) => React.ReactNode);
export interface MessageProps {
id?: string;
className?: string;
style?: object;
text?: MessageTextType;
severity?: MessageSeverityType;
content?: MessageContentType;
}
export declare class Message extends React.Component<MessageProps, any> { }