-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sparkle] - feature: enhance Table component with filter state manage…
…ment - Integrate `useState` for `columnFilters` and `setColumnFilters` to manage column filter states - Remove `onSort` prop from `TableProps` and directly use `setSorting` in `useReactTable` for sorting logic simplification - Change Table stories to use `row.original` for cell values, ensuring consistency with new filter logic - Default the width of the first column to "normal" unless specified otherwise in `TableProps`
- Loading branch information
Jules
authored and
Jules
committed
Jul 30, 2024
1 parent
bc811c9
commit 77e62b9
Showing
2 changed files
with
25 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters