react-file-input
react-file-input copied to clipboard
No visible Text
Hey,
Thanks for the package, I am stuck somewhere can you please help me?
I am trying the below piece of code for rendering the component, It is working perfectly fine, I am getting inputs in HTML but nothing is visible in the UI, no text or no button.
<FileInput
name="avatarImage"
accept=".jpg,.jpeg,.png,.gif"
placeholder="Avatar Image"
className="avatar-image"
onChange={event => console.log('Selected file:', event.target.files[0])}
/>