How to make custom components type-safe with to & search props? #3420
Unanswered
salmanbabri
asked this question in
Q&A
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, can anyone guide me on how to make my custom components type-safe when using to and search props?
I have a pagination component where I want to pass routing info to a prop like this:-
How can I ensure proper type safety for this structure? Any guidance would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions