import { type Meta, type StoryObj } from '@storybook/react'
import { LabelledMessage } from '../LabelledMessage'

const meta = {
  title: 'Components/Form primitives/LabelledMessage',
  component: LabelledMessage,
  args: {
    label: 'Label',
    message: 'Custom message here',
  },
} satisfies Meta<typeof LabelledMessage>

export default meta

export const Playground: StoryObj<typeof meta> = {
  parameters: {
    docs: {
      canvas: {
        sourceState: 'shown',
      },
    },
  },
}
