refactor: remove listWidth prop from List component and associated components (#135)

This commit is contained in:
Razboy20
2024-03-09 00:37:31 -06:00
committed by GitHub
parent f932168f66
commit f67280127a
5 changed files with 11 additions and 14 deletions

View File

@@ -83,7 +83,6 @@ const meta = {
tags: ['autodocs'],
argTypes: {
draggableElements: { control: 'object' },
listWidth: { control: 'number' },
gap: { control: 'number' },
},
} satisfies Meta<typeof List>;
@@ -94,7 +93,11 @@ type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {
draggableElements: ExampleCourseBlocks,
listWidth: 300,
gap: 12,
},
render: args => (
<div className='w-sm'>
<List {...args} />
</div>
),
};