-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
dmc.Collapse
- required parameter in
does not work
#305
Comments
Hi @MichaelODeli Are you interested in doing any pull requests either in the dmc-doc repo or here? |
@AnnMarieW Yes, I will try to add undocumented components to dmc-docs. |
The same error with Fieldset component - unexpected argument (link)
But in dmc-docs with |
That's odd - but in the upstream docs, |
I think I see how to fix this. It would be helpful if you could make a draft PR for the Fieldset component, then when the fix is done, the docs will be ready to go. :-) |
FWIW there is a way to use props masked by Python keywords, or that in some other way are invalid as kwargs: dmc.Collapse(children=[dmc.Button()], **{"in": True}) Which is what you have to do for example to use the But I agree, this pattern is tricky, ugly, and non-Pythonic so better to change it where we can. |
When I try to use the undocumented Collapse component, I get the following error:
Same issue with Fieldset and NumberFormatter (undocumented props).
I also saw that the following components are missing: Tree, SemiCircleProgress, Dialog, ColorSwatch,
The text was updated successfully, but these errors were encountered: