Skip to content

Commit

Permalink
fix(14831): update component and getter function types to match (#17135)
Browse files Browse the repository at this point in the history
* fix(datatable): update component and getter function types to match

Update <TableExpandRow />, <TableSelectAll />, <TableSelectRow /> props
to make checked and isSelected nullable since they already expect
undefined or default to a boolean value anyway. This allows the values
returned by getSelectionProps and getRowProps to be more consistent.
This should resolve typescript errors that occur when using official
examples.

* chore: run yarn format

---------

Co-authored-by: Taylor Jones <[email protected]>
  • Loading branch information
nevantan and tay1orjones authored Oct 29, 2024
1 parent 800efdd commit 538060f
Show file tree
Hide file tree
Showing 3 changed files with 195 additions and 630 deletions.
Loading

0 comments on commit 538060f

Please sign in to comment.