This commit is contained in:
unknown
2025-03-26 15:43:36 +07:00
parent 8a593c7b5e
commit bba83795c9
4 changed files with 173 additions and 54 deletions

View File

@ -77,7 +77,7 @@ export function DataTable<TData, TValue>({
{/* <Button onClick={createData} variant="outline" className="h-7.5 text-[0.8rem]">Add Data</Button> */}
</div>
<div className="rounded-md border">
<Table>
<Table className=''>
<TableHeader>
{table.getHeaderGroups().map((headerGroup) => (
<TableRow key={headerGroup.id}>
@ -99,7 +99,7 @@ export function DataTable<TData, TValue>({
table.getRowModel().rows.map((row) => (
<TableRow key={row.id} data-state={row.getIsSelected() && 'selected'}>
{row.getVisibleCells().map((cell) => (
<TableCell key={cell.id}>
<TableCell style={{ borderRight: "1px solid #ddd" }} key={cell.id}>
{flexRender(cell.column.columnDef.cell, cell.getContext())}
</TableCell>
))}