Skip to content

Commit b80aec5

Browse files
authored
fix(types): Add position option to types def (tannerlinsley#43)
1 parent 168548c commit b80aec5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ export function ReactQueryDevtools(props: {
2424
React.ButtonHTMLAttributes<HTMLButtonElement>,
2525
HTMLButtonElement
2626
>
27+
/**
28+
* The position of the React Query logo to open and close the devtools panel.
29+
* Defaults to 'bottom-left'.
30+
*/
31+
position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'
2732
}): React.ReactElement
2833

2934
export function ReactQueryDevtoolsPanel(props: {

0 commit comments

Comments
 (0)