Skip to content

Commit ed1b1ef

Browse files
authored
[docs] Gesture hooks (#3868)
## Description This PR sets the base for V3 documentation: 1. Moves API v2 to versioned docs 2. Adds documentation for new hooks ## Test plan Read docs 🤓
1 parent 08c46d8 commit ed1b1ef

102 files changed

Lines changed: 5050 additions & 391 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docs-check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
uses: actions/setup-node@v6
2626
with:
2727
node-version: 24
28-
cache: yarn
2928

3029
- name: Install node dependencies
3130
working-directory: ${{ env.WORKING_DIRECTORY }}

packages/docs-gesture-handler/docs/components/buttons.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Currently Gesture handler library exposes three components that render native to
1919
- [`RectButton`](/docs/components/buttons/#rectbutton)
2020
- [`BorderlessButton`](/docs/components/buttons/#borderlessbutton)
2121

22-
On top of that all the buttons are wrapped with `NativeViewGestureHandler` and therefore allow for all the [common gesture handler properties](/docs/gesture-handlers/common-gh/) and `NativeViewGestureHandler`'s [extra properties](/docs/gesture-handlers/nativeview-gh#properties) to be applied to them.
22+
On top of that all the buttons are wrapped with `NativeViewGestureHandler` and therefore allow for all the [common gesture handler properties](/docs/gestures/use-native-gesture#properties-common-to-all-gestures) and `NativeViewGestureHandler`'s [extra properties](/docs/gestures/use-native-gesture#properties-specific-to-nativegesture) to be applied to them.
2323

2424
**IMPORTANT**: In order to make buttons accessible, you have to wrap your children in a `View` with `accessible` and `accessibilityRole="button"` props.
2525
Example:

0 commit comments

Comments
 (0)