antd-img-crop-custom

1.0.0 • Public • Published

antd-img-crop-custom

An image cropper for Ant Design Upload.

You can scale as you wish without aspect

If you want to crop at a certain rate, you should use this

Install

npm i --save antd-img-crop-custom

Usage

import ImgCrop from 'antd-img-crop-custom';
import { Upload } from 'antd';

const Demo = () => (
  <ImgCrop>
    <Upload>+ Add image</Upload>
  </ImgCrop>
);

Package Sidebar

Install

npm i antd-img-crop-custom

Weekly Downloads

37

Version

1.0.0

License

MIT

Unpacked Size

31.3 kB

Total Files

6

Last publish

Collaborators

  • cinkagan