import type { Meta, StoryObj } from '@storybook/react-vite'; import { fn } from 'storybook/test'; import { ListBox, ListBoxItem } from './ListBox'; const meta: Meta = { component: ListBox, parameters: { layout: 'centered', }, tags: ['autodocs'], argTypes: {}, args: { onAction: fn(), selectionMode: 'multiple', }, }; export default meta; type Story = StoryObj; export const Example: Story = { render: (args) => ( Chocolate Mint Strawberry Vanilla ), };