import { Checkbox, Typography } from '@mui/material'; import type { Meta, StoryObj } from '@storybook/react'; import { CollapsibleItem } from './CollapsibleItem'; const meta: Meta = { component: CollapsibleItem }; export default meta; type Story = StoryObj; export const Default: Story = { args: { children: 'Label', title: 'Title' } }; export const ExpandedByDefault: Story = { args: { children: 'Label', defaultExpanded: true, title: 'Title' } }; export const customizedTitle: Story = { args: { children: 'Label', defaultExpanded: false, title: Title } }; export const customizedTitleAndCompact: Story = { args: { children: 'Label', compact: true, defaultExpanded: false, title: (
Title compact
) } };