模板版本:v0.4.2
@react-native-community/image-editor
本项目基于 react-native-image-editor 开发。
该第三方库的仓库支持直接从 npm 下载,新的包名为:@react-native-ohos/image-editor 版本所属关系如下:
| 三方库名称 | 三方库版本(npm地址) | 发布信息 | 支持RN版本 | Autolink | 编译API版本 | 社区基线版本 | 源码地址 |
|---|---|---|---|---|---|---|---|
| @react-native-ohos/image-editor | ~4.4.0(开发中) | Gitcode Releases | 0.82.* / 0.84.* | 是 | API12+ | 4.3.0 | master |
| @react-native-ohos/image-editor | ~4.3.1 | Gitcode Releases | 0.77.* | 否 | API12+ | 4.3.0 | br_rnoh0.77 |
| @react-native-ohos/image-editor | ~3.2.1 | Gitcode Releases | 0.72.* | 是 | API12+ | 3.2.0 | br_rnoh0.72 |
| @react-native-oh-tpl/image-editor | <= 3.2.0-nc.0.1.3@deprecated | Github Releases | 0.72.* | 否 | API12+ | 3.2.0 | sig |
简介
image-editor 组件用于 React Native,用于从网络和本地文件裁剪图片。
下载安装
进入到工程目录并输入以下命令:
npm
npm install @react-native-ohos/image-editor
yarn
yarn add @react-native-ohos/image-editor