react-file-input icon indicating copy to clipboard operation
react-file-input copied to clipboard

No visible Text

Open raghavgarg1257 opened this issue 7 years ago • 0 comments

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])}
/>

raghavgarg1257 avatar Apr 26 '18 20:04 raghavgarg1257