@innovaccer/design-system
Version:
React components library project for Innovaccer Design System
22 lines (21 loc) • 621 B
TypeScript
import * as React from 'react';
import { BaseProps } from "../../../utils/types";
import { MessageAppearance } from "../../../common.type";
declare type MessageSize = 'small' | 'regular';
export interface MessageProps extends BaseProps {
appearance: MessageAppearance;
title?: string;
size?: MessageSize;
children?: React.ReactNode;
description: string;
actions?: React.ReactNode;
}
export declare const Message: {
(props: MessageProps): React.JSX.Element;
displayName: string;
defaultProps: {
appearance: string;
description: string;
};
};
export default Message;