import DeleteIcon from '@mui/icons-material/Delete'; import { Box } from '@mui/material'; import type { Meta, StoryObj } from '@storybook/react'; import { List } from '.'; const meta: Meta = { component: List }; export default meta; type Story = StoryObj; const sampleData = Array(50) .fill(0) .map((_, index) => ({ icon: , index, primary: 'Primary text', secondary: 'Secondary text' })); export const Default: Story = { render: () => ( {sampleData.map(({ primary }) => ( ))} ) }; export const withAction: Story = { render: () => ( {sampleData.map(({ icon, primary }) => ( ))} ) }; export const withSecondaryText: Story = { render: () => ( {sampleData.map(({ primary, secondary }) => ( ))} ) }; export const withSmallContainer: Story = { render: () => ( {sampleData.map(({ icon, primary, secondary }) => ( ))} ) };