import type { Meta, StoryObj } from '@storybook/react-vite';
import argTypes from '../../../.storybook/sgdsArgTypes';
import ContentsNav from './ContentsNav';
const meta = {
title: 'Components/ContentsNav',
component: ContentsNav,
argTypes: {
ariaLabel: argTypes.ariaLabel({description: 'Text to use for the content nav\'s aria-label property'}),
children: argTypes.children(),
title: {
description: 'Title of the contents nav',
type: 'string'
}
},
args: {
children: <>
Apply for Blue Badge
Eligibility
Using your Blue Badge
Report a lost, stolen or misuesd Blue Badge
Changing or handing back a Blue Badge
>
}
} satisfies Meta;
export default meta;
type Story = StoryObj;
export const Default: Story = {
args: {
ariaLabel: 'Contents navigation',
title: 'Contents'
}
};