Skip to content

Commit 7b3e2d7

Browse files
committed
docs(haptic): remove haptic related docs
1 parent c221960 commit 7b3e2d7

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

docs/src/content/docs/guides/install.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@ This package relies on :
2020

2121
- [react-native-reanimated@>=3](https://github.com/software-mansion/react-native-reanimated/)
2222
- [react-native-gesture-handler@>=2](https://github.com/software-mansion/react-native-gesture-handler/)
23-
- [react-native-haptic-feedback@>=2](https://github.com/mkuczera/react-native-haptic-feedback/)
2423

2524
You first need to add them as dependencies:
2625

2726
```bash
28-
npm install react-native-reanimated react-native-gesture-handler react-native-haptic-feedback --save
27+
npm install react-native-reanimated react-native-gesture-handler --save
2928
# or
30-
yarn add react-native-reanimated react-native-gesture-handler react-native-haptic-feedback
29+
yarn add react-native-reanimated react-native-gesture-handler
3130
# or
32-
pnpm add react-native-reanimated react-native-gesture-handler react-native-haptic-feedback
31+
pnpm add react-native-reanimated react-native-gesture-handler
3332
```
3433

3534
Then you must follow their respective installation instructions:

docs/src/content/docs/providers/DndProvider.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export const App: FunctionComponent = () => {
4040
<Property name="disabled" type="boolean" optional defaultValue={`false`}>
4141
An optional boolean value to disable the Drag and Drop functionality globally. Default is `false`.
4242
</Property>
43-
<Property name="hapticFeedback" type="HapticFeedbackTypes" optional>
44-
An optional haptic feedback type to trigger when a draggable item becomes active.
43+
<Property name="onFeedback" type="function" optional>
44+
A callback function to provide feedback (eg. haptic) when a draggable item becomes active.
4545
</Property>
4646
<Property name="onDragEnd" type="function" optional>
4747
A callback function to be called when a drag event ends. It receives an object with `active` and `over`

0 commit comments

Comments
 (0)