Skip to content

Commit

Permalink
chore: exmaple updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tewarig committed Jan 29, 2025
1 parent 7ffc421 commit 907f699
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const TableTemplate: StoryFn<typeof TableComponent> = () => {
data={data}
isVirtualized
height={'500px'}
rowDensity="compact"
rowDensity="comfortable"
selectionType="multiple"
toolbar={
<TableToolbar>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const TableTemplate: StoryFn<typeof TableComponent> = ({ ...args }) => {
isVirtualized
>
{(tableData) => (
<TableVirtualizedWrapper tableData={tableData}>
<TableVirtualizedWrapper tableData={tableData} rowHeight={() => 57}>
<TableHeader>
<TableHeaderRow>
<TableHeaderCell headerKey="PAYMENT_ID">ID</TableHeaderCell>
Expand Down Expand Up @@ -336,7 +336,7 @@ export const NormalTable: StoryFn<typeof TableComponent> = ({ ...args }) => {
isFirstColumnSticky
>
{(tableData) => (
<TableVirtualizedWrapper tableData={tableData}>
<TableVirtualizedWrapper tableData={tableData} rowHeight={() => 58}>
<TableHeader>
<TableHeaderRow>
<TableHeaderCell headerKey="PAYMENT_ID">ID</TableHeaderCell>
Expand Down

0 comments on commit 907f699

Please sign in to comment.