Repository Details
Shared by
HelloGitHub Rating
0 ratings
图片处理的 React 组件
Past 7 days Received 0 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 76 | — |
| 周三 | 76 | 0 |
| 周四 | 76 | 0 |
| 周五 | 76 | 0 |
| 周六 | 76 | 0 |
| 周日 | 76 | 0 |
| 周一 | 76 | 0 |
76
Stars
No
Chinese
JavaScript
Language
No
Active
3
Contributors
27
Issues
No
Organization
None
Latest
16
Forks
MIT
License
图片处理的 React 组件。支持压缩、裁剪、加水印、滤镜、获取主色调等功能,[在线示例](https://lijinke666.github.io/react-image-process/)
```javascript
import React from "react";
import ReactDOM from "react-dom";
import ReactImageProcess from "react-image-process";
const onComplete = data => {
console.log("data:", data);
};
ReactDOM.render(
<ReactImageProcess mode="base64" onComplete={onComplete}>
<img src="YOUR_IMG_URL" />
</ReactImageProcess>,
document.getElementById("root")
);
```
Included in:
Vol.29
Comments
Rating:
No comments yet