diff --git a/en/react-native-camera-kit.md b/en/react-native-camera-kit.md index c09c909f6e15e0bb9fa16bc4eb88c39c74a76736..b62c5b45034c71871118a4e3cc404ce6a6aba30f 100644 --- a/en/react-native-camera-kit.md +++ b/en/react-native-camera-kit.md @@ -1,4 +1,4 @@ -> 模板版本:v0.2.2 +> Template version: v0.2.2

react-native-camera-kit

@@ -14,15 +14,15 @@ -> [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-camera-kit) +> [!TIP] [Github address](https://github.com/react-native-oh-library/react-native-camera-kit) -## 安装与使用 +## Installation and Usage -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-camera-kit Releases](https://github.com/react-native-oh-library/react-native-camera-kit/releases),并下载适用版本的 tgz 包。 +Find the matching version information in the release address of a third-party library and download an applicable .tgz package: [@react-native-oh-library/react-native-camera-kit Releases](https://github.com/react-native-oh-library/react-native-camera-kit/releases) -进入到工程目录并输入以下命令: +Go to the project directory and execute the following instruction: ->[!TIP] # 处替换为 tgz 包的路径 +>[!TIP] Replace the content with the path of the .tgz package at the comment sign (#). @@ -40,9 +40,9 @@ yarn add @react-native-oh-tpl/react-native-camera-kit@file:# -下面的代码展示了这个库的基本使用场景: +The following code shows the basic use scenario of the repository: -> [!WARNING] 使用时 import 的库名不变。 +> [!WARNING] The name of the imported repository remains unchanged. ### camera example ``` js import React, {useRef, useState} from 'react'; @@ -82,7 +82,7 @@ export const CameraDemo: React.FC = (): JSX.Element => { /> -