import type { Meta, StoryObj } from '@storybook/react-vite'; import argTypes from '../../../.storybook/sgdsArgTypes'; import Metadata from './PageMetadata'; const meta = { title: 'Components/PageMetadata', component: Metadata, argTypes: { children: argTypes.children(), isInline: { control: 'boolean', description: 'Makes the page metadata use the truncated \'inline\' display' }, }, args: { children: <> Publication 21/04/2020 } } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { }; export const WithLinks: Story = { args: { children: <> Equality and rights ,{' '} Law and order } } export const Inline: Story = { args: { children: <> Publication 21/04/2020 , isInline: true } }