@image-auto-crop/react
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-alpha.4 • Public • Published

@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" />

Readme

Keywords

none

Package Sidebar

Install

npm i @image-auto-crop/react

Weekly Downloads

3

Version

0.0.1-alpha.4

License

none

Unpacked Size

59.6 kB

Total Files

6

Last publish

Collaborators

  • wentaoliu