In order to have this working, you must have aws creds ready
- node v18.x.x
<ImageDropperV2
onRemove={handleRemove}
minDimension={{
minHeight: 600,
minWidth: 800
}}
images={imageList}
isLoading={false}
handleCaption={() => {}}
handleEdit={() => {}}
onSortEnd={handleOnSort}
onUpload={onUpload}
awsCreds={awsCreds}
disabled={disabled}
folderPath={"sonke/test_id"} // Path to your aws folder
setFileList={setImageList} // useState() variable
/>