Added props on table
This commit is contained in:
parent
5430eba331
commit
15e16bdc99
|
|
@ -8,7 +8,14 @@ interface Props<TData> {
|
||||||
export default function DashboardTable<T>({ table }: Props<T>) {
|
export default function DashboardTable<T>({ table }: Props<T>) {
|
||||||
return (
|
return (
|
||||||
<ScrollArea.Autosize>
|
<ScrollArea.Autosize>
|
||||||
<Table verticalSpacing="xs" horizontalSpacing="xs">
|
<Table
|
||||||
|
verticalSpacing="xs"
|
||||||
|
horizontalSpacing="xs"
|
||||||
|
striped
|
||||||
|
highlightOnHover
|
||||||
|
withColumnBorders
|
||||||
|
withRowBorders
|
||||||
|
>
|
||||||
{/* Thead */}
|
{/* Thead */}
|
||||||
<Table.Thead>
|
<Table.Thead>
|
||||||
{table.getHeaderGroups().map((headerGroup) => (
|
{table.getHeaderGroups().map((headerGroup) => (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user