You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
I've got a couple RadioItems controls for a plot, arranged like so:
I originally tried to just pass className="six columns" to the RadioItems component but that's not an accepted keyword (for some reason—I thought it would be inherited). So as a workaround I wrapped them in extra divs with the six columns class. Given that a RadioItems component renders as a div anyway, it would be a wee bit cleaner to be able to pass the class in directly to that div and save a layer of layout boilerplate.
I don't know if the same issue applies to any other components. It seems to work in some cases (e.g. Dropdown takes className as a keyword) but in general any component that ends up wrapped in its own div could benefit from this.
Thanks again for all your hard work on this package!
The text was updated successfully, but these errors were encountered:
I've got a couple RadioItems controls for a plot, arranged like so:
I originally tried to just pass
className="six columns"
to the RadioItems component but that's not an accepted keyword (for some reason—I thought it would be inherited). So as a workaround I wrapped them in extradiv
s with thesix columns
class. Given that a RadioItems component renders as adiv
anyway, it would be a wee bit cleaner to be able to pass the class in directly to thatdiv
and save a layer of layout boilerplate.I don't know if the same issue applies to any other components. It seems to work in some cases (e.g.
Dropdown
takesclassName
as a keyword) but in general any component that ends up wrapped in its owndiv
could benefit from this.Thanks again for all your hard work on this package!
The text was updated successfully, but these errors were encountered: