@image-auto-crop/react
v0.0.1-alpha.4
Published

Readme
@image-auto-crop/react
A React wrapper for image-auto-crop.
Install
Install with the peer dependency @image-auto-crop/core:
npm i @image-auto-crop/core @image-auto-crop/reactUsage
This package provides an ImageAutoCrop React component which can be a drop-in replacement of a standard img element.
Example:
import { ImageAutoCrop } from '@image-auto-crop/react';
<ImageAutoCrop src="example.png" alt="Example" />