-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] Allow labelIdle to be a component #111
Comments
Hi, this is currently not possible, you can only set a label |
Ok, I see. Will it be added sooner or later? shouldn't be a problem to accept a component OR a string 😉 |
Well, it's not a "native" React component so the React render loop stops at the FilePond init. So there's currently no way to "wrap" a React component. |
That said, I am exploring ways to add it but that will probably not be anytime soon. |
Oh, I see.. Thank you for your quick reply! |
Maybe we could use the |
@romainbessugesmeusy feel free to submit a PR |
If it helps anyone stumbling on this. I solved this for myself by rendering the component as a string and setting that string as the label. You should be able to do this using different frameworks or libraries.
|
or just keep it simple. Just put a svg file there..
|
Is this dead? |
Hello, thanks for this repo, it's really awesome.
I'm trying to use it in a project, but my template is a little different and I'd have to customize the labelIdle prop with something more than a static markup (e.g a custom component)
Is it possible? I didn't see anything in the docs..
👍
The text was updated successfully, but these errors were encountered: