From c3410e163e32a479967c1f7ded6b4a802883eb95 Mon Sep 17 00:00:00 2001 From: carry Date: Sat, 12 Oct 2024 10:45:16 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#IAWHFK]=20=E7=BF=BB?= =?UTF-8?q?=E8=AF=91=20react-native-camera-kit=E6=8C=87=E5=AF=BC=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-camera-kit.md | 183 +++++++++++++++++++++++----------- 1 file changed, 126 insertions(+), 57 deletions(-) diff --git a/en/react-native-camera-kit.md b/en/react-native-camera-kit.md index c09c909f..b62c5b45 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 => { /> -