import type { StoryMeta, Story } from '@admin/sections/ComponentPreviewArea/consts'; import Table from './index'; export default { title: 'Components/Table', description: 'A data table component with sorting and selection features', } as StoryMeta; export const BasicTable: Story = () => ( ); BasicTable.meta = { title: 'Basic Table', description: 'A simple table with data', }; export const EmptyTable: Story = () => (
); EmptyTable.meta = { title: 'Empty Table', description: 'A table with no rows and a custom empty message', }; export const SortableTable: Story = () => (
console.log('Sort triggered', args)} /> ); SortableTable.meta = { title: 'Sortable Table', description: 'A table with sorting handlers attached', }; export const StyledRowsTable: Story = () => (
); StyledRowsTable.meta = { title: 'Featured Rows Table', description: 'A table where specific rows are featured natively', };