Skip to content

Commit

Permalink
fix(ktableview, ktabledata): cell-attrs prop type (#2490)
Browse files Browse the repository at this point in the history
* fix(ktableview, ktabledata): cell-attrs prop type

* fix(ktableview, ktabledata): row-attrs prop type
  • Loading branch information
portikM authored Oct 29, 2024
1 parent 013f155 commit 7e28e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ interface TablePropsShared {
/**
* A function that conditionally specifies row attributes on each row
*/
rowAttrs?: (row: Record<string, any>) => Record<string, string>
rowAttrs?: (row: Record<string, any>) => Record<string, any>
/**
* A function that conditionally turns a row into a link
*/
Expand All @@ -153,7 +153,7 @@ interface TablePropsShared {
/**
* A function that conditionally specifies cell attributes
*/
cellAttrs?: (param: CellAttrsParam) => Record<string, string>
cellAttrs?: (param: CellAttrsParam) => Record<string, any>
/**
* A prop that enables a loading skeleton
*/
Expand Down

0 comments on commit 7e28e39

Please sign in to comment.