Skip to content

Commit 2130b94

Browse files
authored
Remove ref type from props in Pressable Example (#3446)
## Description Our CI fails on `tsc` check in example, probably becauseof #3431. I've removed `RefAttributes` from `props` type as `ref` is not used anyway in this example. ## Test plan Run `yarn tsc --noEmit`
1 parent 1de5998 commit 2130b94

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

example/src/release_tests/gesturizedPressable/testingBase.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ import {
1111
PressableProps as GHPressableProps,
1212
} from 'react-native-gesture-handler';
1313

14-
const TestingBase = (
15-
props: GHPressableProps & RNPressableProps & React.RefAttributes<View>
16-
) => (
14+
const TestingBase = (props: GHPressableProps & RNPressableProps) => (
1715
<>
1816
<GesturizedPressable {...props}>
1917
<View style={styles.textWrapper}>

0 commit comments

Comments
 (0)