import type { Meta, StoryObj } from '@storybook/react'; import { Link } from '../../../atoms'; import { MetaItem } from './meta-item'; const meta = { component: MetaItem, title: 'Molecules/MetaList/Item', } satisfies Meta; export default meta; type Story = StoryObj; export const SingleValue: Story = { args: { label: 'Comments', value: 'No comments', }, }; export const MultipleValues: Story = { args: { label: 'Tags', value: [ { id: 'tag1', value: Tag 1 }, { id: 'tag2', value: Tag 2 }, ], }, }; export const SingleValueBordered: Story = { args: { hasBorderedValues: true, label: 'Comments', value: 'No comments', }, }; export const MultipleValuesBordered: Story = { args: { hasBorderedValues: true, label: 'Tags', value: [ { id: 'tag1', value: Tag 1 }, { id: 'tag2', value: Tag 2 }, ], }, }; export const SingleValueInlined: Story = { args: { isInline: true, label: 'Comments', value: 'No comments', }, }; export const MultipleValuesInlined: Story = { args: { isInline: true, label: 'Tags', value: [ { id: 'tag1', value: Tag 1 }, { id: 'tag2', value: Tag 2 }, ], }, }; export const InlinedValues: Story = { args: { hasInlinedValues: true, label: 'Tags', value: [ { id: 'tag1', value: Tag 1 }, { id: 'tag2', value: A long tag 2 }, { id: 'tag3', value: Tag 3 }, ], }, };