import type { Meta, StoryObj } from '@storybook/react'; import { Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, } from '@konobangu/design-system/components/ui/table'; const invoices = [ { invoice: 'INV001', paymentStatus: 'Paid', totalAmount: '$250.00', paymentMethod: 'Credit Card', }, { invoice: 'INV002', paymentStatus: 'Pending', totalAmount: '$150.00', paymentMethod: 'PayPal', }, { invoice: 'INV003', paymentStatus: 'Unpaid', totalAmount: '$350.00', paymentMethod: 'Bank Transfer', }, { invoice: 'INV004', paymentStatus: 'Paid', totalAmount: '$450.00', paymentMethod: 'Credit Card', }, ]; /** * Powerful table and datagrids built using TanStack Table. */ const meta = { title: 'ui/Table', component: Table, tags: ['autodocs'], argTypes: {}, render: (args) => (