import { MESSAGE_EMPHASES, MESSAGE_STATUS, MESSAGE_STATUSES, Message, MessageBody, MessageIcon, type MessageEmphasis, type MessageStatus } from '../../src'; export default { component: Message, title: 'Tests rendering', }; export const customStyle = () => ( Custom Style ); export const render = () => ( Render ); export const statuses = () => ( <> None { MESSAGE_STATUSES.map((status) => ( { status } )) } ); export const emphases = () => (
{ MESSAGE_STATUSES.map((status) => (
{ status } default { MESSAGE_EMPHASES.map((emphasis) => ( { status } { emphasis } )) } { status } unknown
)) }
);