Open CoderShiun opened 1 year ago
Hi,
You need to add a children
prop with a JSX element that is custom styled for the drop area. Something like:
<FileUploader
multiple={false}
handleChange={handleChange}
name="file"
types={fileTypes}
children={boxArea}
/>
Where const boxArea = <div className='dropArea'>Add file </div>
You can then style the class dropArea
how ever you want in your style sheet.
Hi, I am new in frontend, first thanks for your library, its so handy. I have tried to change the size of the dropzone and icon but it does not work, maybe someone could give me a hint? thanks!