Replies: 1 comment
-
There already is a way to access state wherever you need it. Please read the MRT State Management Docs, because you have a couple of options with either the Now currently, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to change the icons depending on the state of filtering / sorting the table. For example, change the sort icon when the state is "Unsorted", sorted "descending" and sorted "ascending". The same with filters: fill or line icon depending on the filtering state. It would be worth adding an object with the state of the table to the props of the icon component.
Beta Was this translation helpful? Give feedback.
All reactions