Open bebru2k1 opened 2 years ago
if i have understand correctly the question you can create your own list of images and after you can iterate that on the compenent(1), if you wanna add after the uploaded images on your own list you can do this in the onChange(2) function
(2) <ImageUploading multiple value={images} onChange={onChange} (2) const onChange = (imageList, addUpdateIndex) => { setYourOwnList([...yourOwnList,imageList[addUpdateIndex].data_url]) }
(1) yourOwnList.map((image, index) => (
how do i add multiple images that i already have the path to the component?