open-index/open-npm huggingface dataset:
npm package: @rattanbansal/upload-image-react
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Latest version: 0.0.1

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### Features

1. Crop Images with Different Size
2. Upload Images on the required API path
3. Upload images on the s3-bucket using your aws credentials

#### Requirement

Users must need to send the required variable in the cropper component as per below example and also need to define dimension for the required crop sizxe of images

<CustomCropper
				imageSizes={imageSizes}
				OnConvertSizes={convertSizes}
				awsObj={awsObj}
			/>

        const convertSizes = (imagesArray) => {
	};

const imageSizes = [
		{
			height: 300,
			width: 400,
		},
		{
			height: 200,
			width: 300,
		},
		{
			height: 40,
			width: 70,
		},
	];

    const awsObj = {
		bucket: "test-prio-assets",
		accessKeyId: "YOUR-ACCESS-KEY",
		secretAccessKey: "YOUR-SECRET-ACCESS-KEY",
		region: "YOUR-AWS-REGION",
	};