Skip to content

Commit 6a6dc33

Browse files
authored
Update InterceptingGestureDetector with Text example (#3851)
## Description Fixes the `InterceptingGestureDetector` with Text example by changing `onStart` to `onActivate`.
1 parent d77d1f7 commit 6a6dc33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/basic-example/src/Text.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ import { COLORS } from './colors';
1212

1313
function NativeDetectorExample() {
1414
const tapAll = useTapGesture({
15-
onStart: () => {
15+
onActivate: () => {
1616
'worklet';
1717
console.log('Tapped on text!');
1818
},
1919
});
2020

2121
const tapFirstPart = useTapGesture({
22-
onStart: () => {
22+
onActivate: () => {
2323
'worklet';
2424
console.log('Tapped on first part!');
2525
},
2626
});
2727

2828
const tapSecondPart = useTapGesture({
29-
onStart: () => {
29+
onActivate: () => {
3030
'worklet';
3131
console.log('Tapped on second part!');
3232
},

0 commit comments

Comments
 (0)