From f913044d4bc7efbbc92caa2489191850b647ddd0 Mon Sep 17 00:00:00 2001 From: luozhu20 Date: Fri, 12 Dec 2025 15:55:14 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=94=B9react-native-vibratio?= =?UTF-8?q?n-feedback=E6=8C=87=E5=AF=BC=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: luozhu20 --- en/react-native-vibration-feedback.md | 62 +++++++++++------------- zh-cn/react-native-vibration-feedback.md | 58 ++++++++-------------- 2 files changed, 49 insertions(+), 71 deletions(-) diff --git a/en/react-native-vibration-feedback.md b/en/react-native-vibration-feedback.md index 7ced0207..f9ef5f3a 100644 --- a/en/react-native-vibration-feedback.md +++ b/en/react-native-vibration-feedback.md @@ -16,13 +16,14 @@ ## Installation and Usage -Find the matching version information in the release address of a third-party library:[@react-native-ohos/react-native-vibration-feedback Releases](https://github.com/react-native-oh-library/react-native-vibration-feedback/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package. +Find the matching version information in the release address of a third-party library: | Version | Post Information | Support RN Version | | ---------- | ------------------------------------------------------------ | ---------- | | 1.0.1 | [@react-native-ohos/react-native-vibration-feedback Releases](https://github.com/react-native-oh-library/react-native-vibration-feedback/releases) | 0.72 | | 1.1.0 | [@react-native-ohos/react-native-vibration-feedback Releases](https://github.com/react-native-oh-library/react-native-vibration-feedback/releases) | 0.77 | + Go to the project directory and execute the following instruction: @@ -48,51 +49,36 @@ The following code shows the basic use scenario of the repository: ```js import React from "react"; import { View, Button} from "react-native"; -import {TestCase, Tester, TestSuite} from "@rnoh/testerino" import RNVibrationFeedback from 'react-native-vibration-feedback'; const App = (props) => { return ( - - - - - -