import type { Meta, StoryObj } from '@storybook/react-vite'; import argTypes from '../../../.storybook/sgdsArgTypes'; import Facets from './SearchFacets'; const meta = { title: 'Components/Search results/Facets/Group', component: Facets.Group, decorators: [ (Story) => (
) ], argTypes: { children: argTypes.children(), joinContent: { description: 'Content to display between the facet items when there are multiple items in the group', type: 'string' }, title: { description: 'Title of the facet group', type: { name: 'string', required: true } } }, args: { title: 'Content type' } } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { render: ({ ... args }) => ( ) }; export const CustomJoinContent: Story = { render: () => ( ) };