diff --git a/en/react-native-camera-kit.md b/en/react-native-camera-kit.md index be772f48bd034fac16ed50f45cf2fddca2819a66..3100556d226eba52c6d2990d821a8adf8f6a2642 100644 --- a/en/react-native-camera-kit.md +++ b/en/react-native-camera-kit.md @@ -13,35 +13,48 @@

- -> [!TIP] [Github address](https://github.com/react-native-oh-library/react-native-camera-kit) +> [!TIP] [GitHub Repository](https://github.com/react-native-oh-library/react-native-camera-kit) ## Installation and Usage -Find the matching version information in the release address of a third-party library: [@react-native-oh-library/react-native-camera-kit Releases](https://github.com/react-native-oh-library/react-native-camera-kit/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. +Please check the Releases page of the third-party library for compatible version information: + +| Third-party Library Version | Release Information | Supported RN Version | +| ---------- | ------------------------------------------------------------ | ---------- | +| 14.0.1 | [@react-native-oh-library/react-native-camera-kit Releases](https://github.com/react-native-oh-library/react-native-camera-kit/releases) | 0.72 | +| 15.1.1 | [@react-native-ohos/react-native-camera-kit Releases]() | 0.77 | -Go to the project directory and execute the following instruction: +For older versions not published to npm, please refer to the [Installation Guide](/en/tgz-usage.md) for installing tgz packages. +Navigate to your project directory and enter the following commands: #### npm ```bash +# 0.72 npm install @react-native-oh-tpl/react-native-camera-kit + +# 0.77 +npm install @react-native-ohos/react-native-camera-kit ``` #### yarn ```bash +# 0.72 yarn add @react-native-oh-tpl/react-native-camera-kit + +# 0.77 +yarn add @react-native-ohos/react-native-camera-kit ``` -The following code shows the basic use scenario of the repository: +The following code demonstrates basic usage scenarios of this library: -> [!WARNING] The name of the imported repository remains unchanged. +> [!WARNING] The import library name remains unchanged when using. ### camera example ``` js import React, {useRef, useState} from 'react'; @@ -81,7 +94,7 @@ export const CameraDemo: React.FC = (): JSX.Element => { /> -