import { Meta, StoryObj } from '@storybook/react' import React from 'react' import { Box } from '../../index.js' import { MessageBox, MessageBoxProps } from './message-box.jsx' export const Default: StoryObj = { render: ({ withInsideText, ...props }) => ( { /** noop */ }} {...props} > {withInsideText && 'With inside text'} ), } const meta: Meta = { title: 'DesignSystem/Molecules/MessageBox', component: MessageBox, args: { variant: 'info', size: 'sm', message: 'Some message', }, argTypes: { variant: { options: ['danger', 'info', 'success', 'warning'], control: { type: 'select' } }, size: { options: ['sm', 'md', 'lg'], control: { type: 'select' } }, message: { control: { type: 'text' } }, }, } export default meta