# sinobest-rc-image-edit

> Image Edit Plugin

Latest version **0.0.1** (published 2019-04-04) · private license · 0 weekly downloads

## Install

```sh
npm install sinobest-rc-image-edit
pnpm add sinobest-rc-image-edit
yarn add sinobest-rc-image-edit
bun add sinobest-rc-image-edit
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2019-04-04 |
| First published | 2019-04-04 |
| Weekly downloads | 0 |
| License | private |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 53.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Frontend-Team |
| Maintainers | yuano |
| Keywords | sinogear-rc-image |

## Links

- npm: https://www.npmjs.com/package/sinobest-rc-image-edit
- Repository: http://gitlab.ggjs.sinobest.cn/Frontend/sinobest-rc-image-edit
- npm.io page: https://npm.io/package/sinobest-rc-image-edit

## Dependencies (5)

- [antd](https://npm.io/package/antd.md) ^3.13.5
- [react](https://npm.io/package/react.md) ^16.8.2
- [react-dom](https://npm.io/package/react-dom.md) ^16.8.2
- [react-webcam](https://npm.io/package/react-webcam.md) ^1.1.1
- [react-cropper](https://npm.io/package/react-cropper.md) ^1.2.0

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2019-04-04

## README

# sinoest-rc-image-edit

本模块为图片编辑组件，包含可配置的上传、摄像头拍照及图片裁剪功能。

## 安装/Install

	yarn add sinobest-rc-image-edit

## 使用样例/Use

	import React, {Component} from 'react';
	import { SinoImageEdit } from 'sinobest-rc-image-upload';

	export default class ImagePluginDemo extends Component {
	  getImageList = (imageList) => {
	    console.info('imageList:', imageList);
	  }

	  render() {
	    return (
	      <div className={styles.image_plugin_container}>
	        <SinoImageEdit width={600} height={400} max={5} onClick={this.getImageList} />
	      </div>
	    );
	  }
	}

## API

| 参数       | 说明            | 类型         | 默认值       |
|------------|----------------|-------------|--------------|
| width      | 图片区域宽度 | Number | 600|  
| height     | 图片区域高度 | Number | 400|  
| upload     | 图片上传功能开关 | Boolean | true|  
| camera     | 摄像头拍照功能开关 | Boolean | true|  
| cropper    | 裁剪功能开关 | Boolean | true|  
| max        | 最大处理图片数 | Number | 3 |   
| onClick    | 图片处理保存回调函数 | Function | - |  
| multiple    | 允许多图上传 | Boolean | false |

---
_Source: https://npm.io/package/sinobest-rc-image-edit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
