-
Notifications
You must be signed in to change notification settings - Fork 10
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-224 Support composable ActionList components #584
Conversation
Codecov Report
@@ Coverage Diff @@
## rc/4.1.0 #584 +/- ##
============================================
+ Coverage 93.62% 93.64% +0.01%
============================================
Files 135 138 +3
Lines 1757 1777 +20
============================================
+ Hits 1645 1664 +19
- Misses 112 113 +1
Continue to review full report at Codecov.
|
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.
Looks good! Just a couple little updates that could be made to the old code if you want
<CheckBox size={20} /> | ||
</Box> | ||
)} | ||
{helpText && ( |
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.
Should we use <HelpText />
here?
as={is === 'button' ? 'button' : null} | ||
type={is === 'button' ? 'button' : null} | ||
isType={is} | ||
{...(is === 'checkbox' |
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.
This is a little hard to read, but I get what it's doing so not a big deal
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.
Looks good!
</Box> | ||
); | ||
}, [content, selected, helpText]); | ||
|
||
const isAttributes = |
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.
Nice, this is much easier to read
What Changed
ActionList.Action
andActionList.Section
componentsActionList
How To Test or Verify
PR Checklist
type
label