diff --git a/en/react-native-orientation-locker.md b/en/react-native-orientation-locker.md index 9e0a4746ad6a8484b375939d4c9bad3f342b4898..814e61ff0c0149dd26f0894ad070d6c7f83e6a19 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 d9d03e8f23386b07f8ef2de0afe8827f5571d4d3..db74476fdfb35df6d9503efe1fcc1420cee93df7 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 | | -------------- | ---------------------------------------- | ------ | -------- | ----------- | ----------------- |