UNPKG

@innovaccer/design-system

Version:

React components library project for Innovaccer Design System

24 lines (23 loc) 712 B
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; id?: string; headingAs?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'div'; } export declare const Message: { (props: MessageProps): React.JSX.Element; displayName: string; defaultProps: { appearance: string; description: string; }; }; export default Message;