introducing a radio button component and a radio button group component #583
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #580
Changes
// Describe what you changed
I introduced a radio button and radio button group as indicated in issue #580.
@jrenee42 - I didn't see that you assigned yourself to the issue until just now. This isn't quite done yet (no color options, .. etc) but I just thought I'd submit what I have in hopes that it can be helpful. If not, no worries - feel free to squash this PR!
One notable offshoot is that Instead of taking the array of string values for labels as you suggested, I have it so that it accepts children radio buttons. I started with the singular Radio button so I thought this would allow me to use that to the fullest.
Screenshots
// Add screenshots here if relevant
![Screen Shot 2021-03-05 at 1 49 12 AM](https://user-images.githubusercontent.com/12561526/110078006-156ba380-7d55-11eb-8724-78cd59fa0cd9.png)
![Screen Shot 2021-03-05 at 1 49 03 AM](https://user-images.githubusercontent.com/12561526/110078034-1b618480-7d55-11eb-800f-2cc2af010e8c.png)
![Screen Shot 2021-03-05 at 1 48 46 AM](https://user-images.githubusercontent.com/12561526/110078042-1e5c7500-7d55-11eb-83bb-337f7ffc8dca.png)
![Screen Shot 2021-03-05 at 1 48 40 AM](https://user-images.githubusercontent.com/12561526/110078050-20becf00-7d55-11eb-8c4c-bad2d71e27bd.png)
Checklist
Check all that apply