import type { Meta, StoryObj } from '@storybook/react-vite'; import argTypes from '../../../.storybook/sgdsArgTypes'; import CategoryList from './CategoryList'; import CategoryItem from '../CategoryItem'; const meta = { title: 'Components/CategoryList', component: CategoryList, argTypes: { children: argTypes.children(), isGrid: { description: 'Show the category items in a grid', type: 'boolean' }, isOrdered: { description: 'Use an ordered list for the category items in the list', type: 'boolean' } }, args: { } } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { render: (args) => ( Find information about local travel by road, rail and water and National Entitlement Cards. Find out about getting a disabled parking space and information on Blue Badges. How to apply to court to reduce your driving ban. Includes who can apply and how much it costs. Find out about the drink-drive limit, how to stay safe on the roads and what to do if you receive parking tickets. ) }; export const Grid: Story = { args: { isGrid: true }, render: (args) => ( Find information about local travel by road, rail and water and National Entitlement Cards. Find out about getting a disabled parking space and information on Blue Badges. How to apply to court to reduce your driving ban. Includes who can apply and how much it costs. Find out about the drink-drive limit, how to stay safe on the roads and what to do if you receive parking tickets. ) }; export const OrderedList: Story = { args: { isOrdered: true }, render: (args) => ( Find information about local travel by road, rail and water and National Entitlement Cards. Find out about getting a disabled parking space and information on Blue Badges. How to apply to court to reduce your driving ban. Includes who can apply and how much it costs. Find out about the drink-drive limit, how to stay safe on the roads and what to do if you receive parking tickets. ) };