https://github.com/chenmoonmo/react-mobile-image-editor
This repository is a react component to edit images at mobile phone by Konvajs.
https://github.com/chenmoonmo/react-mobile-image-editor
editor image-cropper image-editor react react-component react-image-crop
Last synced: 3 months ago
JSON representation
This repository is a react component to edit images at mobile phone by Konvajs.
- Host: GitHub
- URL: https://github.com/chenmoonmo/react-mobile-image-editor
- Owner: chenmoonmo
- License: mit
- Created: 2022-11-28T11:02:34.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T12:31:20.000Z (almost 3 years ago)
- Last Synced: 2025-05-13T13:19:36.065Z (8 months ago)
- Topics: editor, image-cropper, image-editor, react, react-component, react-image-crop
- Language: TypeScript
- Homepage:
- Size: 14.2 MB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-mobile-image-editor
## Installation
```bash
# npm
> npm install react-mobile-image-editor
# yarn
> yarn add react-mobile-image-editor
```
## LiveDemo
## Examples
```javascript
import Editor, { useExport } from "react-mobile-image-editor";
import image from "./assets/chibubao.png";
const App = () => {
const editorRef = useExport();
const handleDownload = () => {
console.log(editorRef.current.exportImage());
};
return (
Download}
/>
);
};
```