1.0.2 • Published 2 years ago
react-imgeditor-simple v1.0.2
react-imgeditor-simple
#自定义截屏插件,本插件仅支持 React
Install node_modules
:
$ yarn install react-imgeditor-simple
Getting Started
Install dependencies,
$ npm i
Start the dev server,
$ npm start
Build documentation,
$ npm run docs:build
Run test,
$ npm test
Build library via father
,
$ npm run build
example
import { ImageEditor } from 'react-imgeditor-simple';
<ImageEditor width={500} height={500} src="img.png" />;