Skip to content

Commit 4f54383

Browse files
committed
Update return type
1 parent c992498 commit 4f54383

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/docs-gesture-handler/docs/components/create-native-wrapper.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function createNativeWrapper<P>(
2424
Component: React.ComponentType<P>,
2525
config: NativeWrapperProperties,
2626
detectorType: GestureDetectorType,
27-
): React.FC<P>
27+
): React.FC<P & NativeWrapperProperties>
2828
```
2929

3030
[`config`](#config) and [`detectorType`](#detectortype) parameters are optional. Their default values are described in their respective sections below.

0 commit comments

Comments
 (0)