0.0.1-alpha.4 • Published 8 months ago

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

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

@image-auto-crop/react

npm

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/react

Usage

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" />
0.0.1-alpha.4

8 months ago

0.0.1-alpha.3

8 months ago

0.0.1-alpha.1

8 months ago