From ef27003fbb2c207b5184bdd78c47b81227c3f85a Mon Sep 17 00:00:00 2001 From: KrrI Date: Thu, 12 Jun 2025 16:55:51 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#ICEQUS]:=20react-native-ori?= =?UTF-8?q?entation-locker=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: KrrI --- en/react-native-orientation-locker.md | 5 +++-- zh-cn/react-native-orientation-locker.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/en/react-native-orientation-locker.md b/en/react-native-orientation-locker.md index 9e0a4746..814e61ff 100644 --- a/en/react-native-orientation-locker.md +++ b/en/react-native-orientation-locker.md @@ -60,6 +60,7 @@ import Orientation, { useDeviceOrientationChange, useLockListener, } from "react-native-orientation-locker"; +import React from 'react'; export function OrientationLockerExample() { const [showVideo, setShowVideo] = useState(true); @@ -318,7 +319,7 @@ This document is verified based on the following versions: > [!tip] If the value of **HarmonyOS Support** is **yes**, it means that the HarmonyOS platform supports this property; **no** means the opposite; **partially** means some capabilities of this property are supported. The usage method is the same on different platforms and the effect is the same as that of iOS or Android. -For details, see [react-native-orientation-locker](https://github.com/react-native-oh-library/react-native-orientation-locker) +For details, see [react-native-orientation-locker](https://github.com/wonday/react-native-orientation-locker) | Name | Description | Type | Required | Platform | HarmonyOS Support | | --------------------- | ------------------------------------------------------------ | -------- | -------- | ----------- | ----------------- | @@ -336,7 +337,7 @@ For details, see [react-native-orientation-locker](https://github.com/react-nati > [!tip] If the value of **HarmonyOS Support** is **yes**, it means that the HarmonyOS platform supports this property; **no** means the opposite; **partially** means some capabilities of this property are supported. The usage method is the same on different platforms and the effect is the same as that of iOS or Android. -For details, see [react-native-orientation-locker](https://github.com/react-native-oh-library/react-native-orientation-locker) +For details, see [react-native-orientation-locker](https://github.com/wonday/react-native-orientation-locker) | Name | Description | Type | Required | Platform | HarmonyOS Support | | ------------------------------- | ------------------------------------------------------------ | -------- | -------- | ----------- | ----------------- | diff --git a/zh-cn/react-native-orientation-locker.md b/zh-cn/react-native-orientation-locker.md index d9d03e8f..db74476f 100644 --- a/zh-cn/react-native-orientation-locker.md +++ b/zh-cn/react-native-orientation-locker.md @@ -60,6 +60,7 @@ import Orientation, { useDeviceOrientationChange, useLockListener, } from 'react-native-orientation-locker'; +import React from 'react'; export function OrientationLockerExample() { const [showVideo, setShowVideo] = useState(true); @@ -323,7 +324,7 @@ ohpm install > [!TIP] "HarmonyOS Support"列为 yes 表示 HarmonyOS 平台支持该属性;no 则表示不支持;partially 表示部分支持。使用方法跨平台一致,效果对标 iOS 或 Android 的效果。 -详情请见[react-native-orientation-locker](https://github.com/react-native-oh-library/react-native-orientation-locker) +详情请见[react-native-orientation-locker](https://github.com/wonday/react-native-orientation-locker) | Name | Description | Type | Required | Platform | HarmonyOS Support | | -------------- | ---------------------------------------- | ------ | ------------------------ | ---------------- | ----------------- | @@ -341,7 +342,7 @@ ohpm install > [!TIP] "HarmonyOS Support"列为 yes 表示 HarmonyOS 平台支持该属性;no 则表示不支持;partially 表示部分支持。使用方法跨平台一致,效果对标 iOS 或 Android 的效果。 -详情请见[react-native-orientation-locker](https://github.com/react-native-oh-library/react-native-orientation-locker) +详情请见[react-native-orientation-locker](https://github.com/wonday/react-native-orientation-locker) | Name | Description | Type | Required | Platform | HarmonyOS Support | | -------------- | ---------------------------------------- | ------ | -------- | ----------- | ----------------- | -- Gitee