-
Notifications
You must be signed in to change notification settings - Fork 96
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
Label only accepting a string. #31
Comments
I did think It might be as easy as changing the label propType to
|
I have tested this by just using the BS Input which works. Think something else is going here. |
So in the |
Relaxed this constraint in 0433c8d. Thanks for the PR! Now that labels can contain any React "renderable content", the onus is on the developer to ensure they pass in valid content. For example, block content (like For future reference (when I eventually write some docs): the label spec. |
Yeah just threw the Did you update npm? |
Just updated... |
I would like to pass in a tooltip as a node for my label but looking at the source code the label propType is set to a string. Would we be able to change it to accept and object as well?
The text was updated successfully, but these errors were encountered: