-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Ability to Specify RadioButton Check Size #4465
Comments
I open a PR for this #4505 |
Can we try leveraging the existing theme prop |
@ShimiSun Ah, I remember why I abandoned this path initially. Initially, I had wanted to add
to the theme file. That worked great in a local theme, but did not translate well to
At the time, this felt like a lot of overhead to get at what we needed to accomplish. Plus, felt that others might like this ability as well. Thoughts on whether we want to pursue these types of changes on Another approach would be to add a larger circle to |
@halocline why not simply using SVG instead of the Blank react component? |
We'd still be relying on JSX to define the |
@halocline I think we'll be OK adding a peer dependency and use the JSX solution, can you file a PR on |
👍 Will do. |
turned off eslint rule for no jsx in .js files closes grommet/grommet#4465
Closing this. Used the property |
Sorry for not providing the necessary support on this. Thanks @halocline, great solution btw, |
@netochaves, no, thank you! @ShimiSun was able to point out that Grommet already had support for this, but the property had been undocumented. So it made sense to use the functionality which already existed and document it (which it is now). Very much appreciate all of your contributions! |
@netochaves Your PR had definitely helped us move the discussion forward and help us find the best solution, Thanks again!! Regardless, your overall contributions to grommet are highly appreciated!! Looking forward to seeing more of your work ❤️ |
Expected Behavior
Would like to be able to specify the check size of a RadioButton in my theme.
Actual Behavior
My design calls for a 16x16 check (r=8), but the default icon is 12x12 (r=6).
Related Issue: grommet/hpe-design-system#851
Proposal for something like
radioButton.check.size
URL, screen shot, or Codepen exhibiting the issue
Steps to Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: