Skip to content

Commit

Permalink
add highlightOnHover prop to BaseTable component
Browse files Browse the repository at this point in the history
  • Loading branch information
shaji618 committed Oct 19, 2024
1 parent 1874f29 commit 99e2c40
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/components/tables/BaseTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ export default function BaseTable<T extends object>(props: BaseTableProps<T>) {

return (
<Box className={styles.container}>
<Table className={styles.table} striped={tableStyles?.striped ?? true}>
<Table
className={styles.table}
highlightOnHover
striped={tableStyles?.striped ?? true}
>
<Table.Thead hidden={tableStyles?.hideHeader}>
{instance.getHeaderGroups().map((headerGroup) => (
<Table.Tr key={headerGroup.id}>
Expand Down

0 comments on commit 99e2c40

Please sign in to comment.