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

Refactor/visible props #125

Merged
merged 4 commits into from
Sep 17, 2019
Merged

Refactor/visible props #125

merged 4 commits into from
Sep 17, 2019

Conversation

MarcusNotheis
Copy link
Contributor

@MarcusNotheis MarcusNotheis commented Sep 17, 2019

Closes #115

BREAKING CHANGE: removed visible prop, please use conditional rendering instead
BREAKING CHANGE: SegmentedButton and SegmentedButtonItem prop enabled is now renamed to disabled and logic is inverted

refactor component to functional component
BREAKING CHANGE: Removed `visible` prop, please use conditional rendering instead
…disabled

BREAKING CHANGE: removed visible prop, please use conditional rendering instead
BREAKING CHANGE: `SegmentedButton` and `SegmentedButtonItem` prop enabled is now renamed to disabled and logic is inverted
@netlify
Copy link

netlify bot commented Sep 17, 2019

Deploy preview for ui5-webcomponents-react ready!

Built with commit 3bd28c1

https://deploy-preview-125--ui5-webcomponents-react.netlify.com

componentDidUpdate() {
this.updateChildElementSize();
}
useEffect(() => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useMemo?

@MarcusNotheis MarcusNotheis merged commit 174447a into master Sep 17, 2019
@MarcusNotheis MarcusNotheis deleted the refactor/visible-props branch September 17, 2019 14:39
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.

SegmentedButtonItem: visible props has no effect
2 participants