Skip to content

Commit

Permalink
test(table): add nuew case story highlight row and column
Browse files Browse the repository at this point in the history
  • Loading branch information
santiago.trigo committed Sep 27, 2024
1 parent 34c154a commit 8021ad4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/table/stories/table/HighlightTable.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ The highlightRowOnHover property by default is set to false, once it is activate

<Canvas of={Stories.Row} />

> Both properties can be combined as needed to have both highlighted.
> Both properties can be combined as needed to have both highlighted.
<Canvas of={Stories.RowColumn} />
11 changes: 11 additions & 0 deletions packages/table/stories/table/HighlightTable.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,14 @@ export const Row: Story = {
data,
},
};

export const RowColumn: Story = {
args: {
maxHeight: '80vh',
rowHeight: ROW_HEIGHT_MD,
highlightRowOnHover: true,
highlightColumnsOnHover: true,
colDefs,
data,
},
};

0 comments on commit 8021ad4

Please sign in to comment.