Added props on table

This commit is contained in:
sianida26 2024-05-21 01:43:14 +07:00
parent 5430eba331
commit 15e16bdc99

View File

@ -8,7 +8,14 @@ interface Props<TData> {
export default function DashboardTable<T>({ table }: Props<T>) {
return (
<ScrollArea.Autosize>
<Table verticalSpacing="xs" horizontalSpacing="xs">
<Table
verticalSpacing="xs"
horizontalSpacing="xs"
striped
highlightOnHover
withColumnBorders
withRowBorders
>
{/* Thead */}
<Table.Thead>
{table.getHeaderGroups().map((headerGroup) => (