-
Notifications
You must be signed in to change notification settings - Fork 377
fix(DualList): add callbacks to Controlled Dual List methods #1901
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
fix(DualList): add callbacks to Controlled Dual List methods #1901
Conversation
|
PatternFly-React preview: https://1901-pr-patternfly-react-patternfly.surge.sh |
Codecov Report
@@ Coverage Diff @@
## master #1901 +/- ##
==========================================
+ Coverage 82.63% 82.66% +0.03%
==========================================
Files 624 624
Lines 6875 6888 +13
Branches 93 93
==========================================
+ Hits 5681 5694 +13
Misses 1154 1154
Partials 40 40
Continue to review full report at Codecov.
|
ad61965 to
5199245
Compare
| DualListControlled.propTypes = { | ||
| /** | ||
| * Function that runs after items have been moved between the lists. | ||
| * Recieves the updated state as a callback. |
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.
nit: typo -> receives
(below as well)
5199245 to
22db98f
Compare
|
Thanks, fixed :) |
|
can we merge it? :) |
Add callbacks of the updated state for each method in the controlled Dual List