import type { Meta, StoryFn, StoryObj } from '@storybook/react' import { FormErrorMessage, FormHelperText } from './FormHelperText' import { type FormErrorMessageProps, type FormHelperTextProps, } from './FormHelperText.types' const meta: Meta = { component: FormHelperText, } export default meta export const Primary: StoryObj = { args: { id: 'test', children: 'Description', }, } const ErrorMessageTemplate: StoryFn = (props) => ( ) export const ErrorMessage: StoryObj = { render: ErrorMessageTemplate, args: { id: 'test', children: 'Error!', }, }