Why is setFilter taking a function valid? #2360
Unanswered
richard-zhang
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From API doc, setFilter in the column has type Function(filterValue) => void
However, in the below code
https://github.com/tannerlinslefy/react-table/blob/master/examples/filtering/src/App.js#L181
It seems that it also supports functions as parameter. Could you explain this usage?
Beta Was this translation helpful? Give feedback.
All reactions