import type { Meta, StoryObj } from '@storybook/react-vite'; import argTypes from '../../../.storybook/sgdsArgTypes'; import SkipLinks from './SkipLinks'; const meta = { title: 'Components/SkipLinks', component: SkipLinks, argTypes: { mainContentId: { description: 'The id attribute of the \'main content\' element to link to', type: 'string' }, mainLinkText: { description: 'The text to use for the \'main content\' link', type: 'string' }, isStatic: { control: 'boolean', description: 'Use the \'static\' display variant' }, children: argTypes.children() }, args: { } } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { }; export const MultipleLinks: Story = { args: { children: <> Skip to main content Other important content } }; export const Static: Story = { args: { isStatic: true, children: Skip to search results } };