From 3a4599114c358924bcb3da83f8d6f6fb08174541 Mon Sep 17 00:00:00 2001 From: Louis-C7 <972339262@qq.com> Date: Wed, 10 Jan 2024 15:57:27 +0800 Subject: [PATCH] =?UTF-8?q?[Issues:=20#I8V339]=20RNGH=E5=9B=9E=E9=80=80113?= =?UTF-8?q?0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/react-native-gesture-handler.md | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/zh-cn/react-native-gesture-handler.md b/zh-cn/react-native-gesture-handler.md index ea1dc9c8..1f33e293 100644 --- a/zh-cn/react-native-gesture-handler.md +++ b/zh-cn/react-native-gesture-handler.md @@ -23,7 +23,7 @@ ... "dependencies": { ... - "@react-native-oh-tpl/react-native-gesture-handler": "xxx.tgz", + "react-native-harmony-gesture-handler": "xxx.tgz", }, ... ``` @@ -34,26 +34,6 @@ npm i ``` -发布到 npm 之后可以正常使用命令安装(暂未发布) - -进入到工程目录并输入以下命令: - - - -#### **yarn** - -```bash -yarn add @react-native-oh-tpl/react-native-gesture-handler -``` - -#### **npm** - -```bash -npm install @react-native-oh-tpl/react-native-gesture-handler -``` - - - 快速使用: ```js @@ -135,7 +115,7 @@ export default function App() { ```json "dependencies": { "rnoh": "file:../rnoh", - "rnoh-gesture-handler": "file:../../node_modules/@react-native-tpl-oh/react-native-gesture-handler/harmony/gesture_handler.har" + "rnoh-gesture-handler": "file:../../node_modules/react-native-harmony-gesture-handler/harmony/gesture_handler.har" } ``` @@ -154,7 +134,7 @@ ohpm install ```json "dependencies": { "rnoh": "file:../rnoh", - "rnoh-gesture-handler": "file:../../node_modules/@react-native-tpl-oh/react-native-gesture-handler/harmony/gesture_handler" + "rnoh-gesture-handler": "file:../../node_modules/react-native-harmony-gesture-handler/harmony/gesture_handler" } ``` -- Gitee