Skip to content

DevTools - export props interfaces #2658

Answered by TkDodo
UgRoss asked this question in Ideas
Discussion options

You must be logged in to vote

the best way is to extract the props:

type DevtoolsOptions = React.ComponentProps<typeof ReactQueryDevtools>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@UgRoss
Comment options

Answer selected by UgRoss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants