Remove unused stories

This commit is contained in:
Nate Kelley 2025-04-04 16:55:13 -06:00
parent 93a4ba7e81
commit 0340fa197f
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 2 additions and 30 deletions

View File

@ -45,20 +45,11 @@ export const Default: Story = {
} }
}; };
export const NonResizable: Story = { export const NonEditable: Story = {
args: { args: {
...meta.args, ...meta.args,
rows: sampleData, rows: sampleData,
resizable: false, resizable: false,
sortable: true
}
};
export const NonDraggable: Story = {
args: {
...meta.args,
rows: sampleData,
resizable: true,
sortable: false sortable: false
} }
}; };
@ -69,7 +60,6 @@ export const CustomColumnOrder: Story = {
rows: sampleData, rows: sampleData,
columnOrder: ['name', 'email', 'age', 'id', 'joinDate'], columnOrder: ['name', 'email', 'age', 'id', 'joinDate'],
resizable: true, resizable: true,
sortable: true sortable: true
} }
}; };
@ -86,7 +76,6 @@ export const CustomColumnWidths: Story = {
joinDate: 120 joinDate: 120
}, },
resizable: true, resizable: true,
sortable: true sortable: true
} }
}; };
@ -104,23 +93,7 @@ export const CustomFormatting: Story = {
return `${value} years`; return `${value} years`;
} }
return String(value); return String(value);
},
resizable: true,
sortable: true
} }
};
export const WithCallbacks: Story = {
args: {
...meta.args,
rows: sampleData,
onReorderColumns: (columnIds) => console.log('Columns reordered:', columnIds),
onResizeColumns: (columnSizes) => console.log('Columns resized:', columnSizes),
onReady: () => console.log('Grid is ready'),
resizable: true,
sortable: true
} }
}; };
@ -139,7 +112,6 @@ export const TenThousandRows: Story = {
).toISOString() ).toISOString()
})), })),
resizable: true, resizable: true,
sortable: true sortable: true
} }
}; };