Category "react-dropzone"

Edit Product with images using React-Dropzone

When creating a product I use React-Dropzone but when editing I intend to use it in the same way. I would like that when editing the product, the images that ar

React-Dropzone how convert each file to base64

I am using react-dropzone plugin for file uploads. I worried how i can convert each file to base64: eg: Here is my function where i get files: I am creatin

React-Dropzone how convert each file to base64

I am using react-dropzone plugin for file uploads. I worried how i can convert each file to base64: eg: Here is my function where i get files: I am creatin

react-dropzone: isDragReject is true when accept csv?

const { acceptedFiles, getRootProps, getInputProps, isDragActive, isDragAccept, isDragReject, } = useDropzone({ accept: ".csv", }); console.log(is