import type { Meta, StoryObj } from '@storybook/react-vite';
import argTypes from '../../../.storybook/sgdsArgTypes';
import SkipLinks from './SkipLinks';
const meta = {
title: 'Components/SkipLinks/SkipLinks.Link',
component: SkipLinks.Link,
decorators: [
Story => (
)
],
argTypes: {
fragmentId: {
description: 'ID of the destination element',
type: {
name: 'string',
required: true
}
},
children: argTypes.children()
},
args: {
children: 'Skip to main content',
fragmentId: 'my-main-content'
}
} satisfies Meta;
export default meta;
type Story = StoryObj;
export const Default: Story = {
};