Skip to content

Commit bd5c0b5

Browse files
committed
Change tables
1 parent b3a9ce6 commit bd5c0b5

1 file changed

Lines changed: 11 additions & 19 deletions

File tree

packages/docs-gesture-handler/docs/guides/upgrading-to-3.mdx

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ code2={
8585
| `Gesture.Manual()` | `useManualGesture()` |
8686
| `Gesture.ForceTouch()` | *Not available in hook API* |
8787

88-
{/* <HooksTable /> */}
89-
9088
</details>
9189

9290
## Migrating relations
@@ -112,9 +110,15 @@ const gesture = useSimultaneousGestures(pan1, pan2);
112110
`}
113111
/>
114112

115-
:::danger Race gesture
116-
In Gesture Handler 3 `Race` gesture was renamed to `Competing` gesture.
117-
:::
113+
Full changes are as follows:
114+
115+
| RNGH2 | RNGH3 |
116+
| ----------------------------------------- | --------------------------- |
117+
| `Gesture.Race()` | `useCompetingGestures()` |
118+
| `Gesture.Simultaneous()` | `useSimultaneousGestures()` |
119+
| `Gesture.Exclusive()` | `useExclusiveGestures()` |
120+
121+
118122

119123
### Cross components relations properties
120124

@@ -137,20 +141,15 @@ const pan2 = usePanGesture({
137141
skipFormatting1={true}
138142
/>
139143

140-
<details>
141-
<summary>Full changes</summary>
144+
Full changes are as follows:
145+
142146

143147
| RNGH2 | RNGH3 |
144148
| ----------------------------------------- | --------------------------- |
145-
| `Gesture.Race()` | `useCompetingGestures()` |
146-
| `Gesture.Simultaneous()` | `useSimultaneousGestures()` |
147-
| `Gesture.Exclusive()` | `useExclusiveGestures()` |
148-
| | |
149149
| `gesture.simultaneousWithExternalGesture` | `gesture.simultaneousWith` |
150150
| `gesture.requireExternalGestureToFail` | `gesture.requireToFail` |
151151
| `gesture.blocksExternalGesture` | `gesture.block` |
152152

153-
</details>
154153

155154
## Using SVG
156155

@@ -237,12 +236,5 @@ Most of the types, like `TapGesture`, are still present in Gesture Handler 3. Ho
237236
| `BaseButtonProps` | `LegacyBaseButtonProps` |
238237
| `RectButtonProps` | `LegacyRectButtonProps` |
239238
| `BorderlessButtonProps` | `LegacyBorderlessButtonProps` |
240-
| | |
241-
| `ScrollView` | `LegacyScrollView` |
242-
| `FlatList` | `LegacyFlatList` |
243-
| `RefreshControl` | `LegacyRefreshControl` |
244-
| `Switch` | `LegacySwitch` |
245-
| `TextInput` | `LegacyTextInput` |
246-
| `DrawerLayoutAndroid` | `LegacyDrawerLayoutAndroid` |
247239

248240
</details>

0 commit comments

Comments
 (0)