Skip to content
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

Pass all props in the MaterialArrayLayoutRenderer #1951

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

eneufeld
Copy link
Member

@eneufeld eneufeld commented Jun 3, 2022

Currently the MaterialArrayLayoutRenderer lists the props explicitly,
this way the config was forgotten and thus the
move up/down buttons cannot be enabled globally using the config object.

  • add test case for config object being passed down
  • pass all props down to the MaterialArrayLayout

Contributed on behalf of STMicroelectronics

@eneufeld eneufeld requested a review from sdirix June 3, 2022 13:15
@coveralls
Copy link

coveralls commented Jun 3, 2022

Coverage Status

Coverage remained the same at 84.29% when pulling 7b48965 on eneufeld:fix/materialarraylayout-sort into 83e7003 on eclipsesource:master.

Currently the MaterialArrayLayoutRenderer only hands over a selected list of props to
the MaterialArrayLayout component it wraps. This is now refactored to hand over all
incoming props. This fixes the issue that the 'config' prop was previously not handed
over.

Contributed on behalf of STMicroelectronics
@sdirix sdirix force-pushed the fix/materialarraylayout-sort branch from f91ab22 to 7b48965 Compare June 10, 2022 15:09
@sdirix sdirix merged commit 1cfd276 into eclipsesource:master Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants