So I have been using this https://github.com/FineUploader/react-fine-uploader. Is there a way to add cursor: pointer to FileInput element's style.
What I tried is:
<FileInput
uploader={this.uploader}
className={{ cursor: 'pointer' }}
style={{ cursor: 'pointer' }}
>
<span>{this.props.children}</span>
</FileInput>
then it generated:
<input type="file" class="react-fine-uploader-file-input" style="bottom: 0px; height: 100%; left: 0px; margin: 0px; opacity: 0; padding: 0px; position: absolute; right: 0px; top: 0px; width: 100%;">
without the cursor: pointer property
You could implement using CSS. You need to create one css and need to provide on file input
className="file-upload".See this working stackblitz demo.
CSS
FileInput Component