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.
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
Ux 603 New Radio component #261
Ux 603 New Radio component #261
Changes from all commits
bf7fa17
ad69545
6ca72ec
52c81a1
affbc8f
d59d097
2266270
ce38f1e
141a64d
ec0b2c7
0f9aea1
cc9a443
4d3391c
56e7e9c
055fa5f
50db165
9d77e50
2d5aabc
e78df4d
04d0335
d5d7436
b81d563
b6b39a0
061b369
4cae770
d5bf522
4fe25c0
9dfba7c
215deb4
42d1ca8
622137f
3a8dcad
665cfcd
f5a10d6
a6452cc
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we export the classes from
Radio.styles.js
and apply directly instead of usingclassNames
?Same for the
<div>
check below.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried taking this a step further and making some changes as suggested but quickly find it getting a little messy and not necessarily easier to understand. I think perhaps that could do with some refactoring in a secondary Pr but take a look at the in progress branch i have - 297f960 as I was having some issues with the disabled state
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you're on the right track there. Maybe once you merge this one I'll take that branch and try finesse it into a viable PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of this file is copied from the
<Checkbox>
. I don't mind the copy pasta as phase one, but do you have any ideas yet for how to DRY this up in a later PR perhaps?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet but I'll give it some thought in the next refactor where I remove any classes being applied on elements....