1.0.1 • Published 3 years ago
react-screen-shot-simple v1.0.1
React screen shot
#自定义截屏插件,本插件仅支持React
Install node_modules
:
$ yarn install react-screen-shot-simple
build the dev server,
$ yarn build
example
import ImageEditor from 'react-screen-shot-simple';
<ImageEditor
width={500}
height={500}
src="img.png"
/>