Skip to content

Commit

Permalink
Fix Gesture Provider types
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Nov 14, 2023
1 parent 4f49202 commit 9339529
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gesture-handler/GestureDetectorProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ function GHWrapper(props: GestureProviderProps) {
return <GestureDetector {...props} />;
}

export default function GestureDetectorProvider(props: GestureProviderProps) {
export default function GestureDetectorProvider(props: {
children: React.ReactNode;
}) {
return (
<GHContext.Provider value={GHWrapper}>{props.children}</GHContext.Provider>
);
Expand Down

0 comments on commit 9339529

Please sign in to comment.