mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[PR #38] [MERGED] Refactor components props #235
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#235
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kusti8/proton-native/pull/38
Author: @alejandronanez
Created: 3/2/2018
Status: ✅ Merged
Merged: 3/3/2018
Merged by: @kusti8
Base:
master← Head:refactor-component-props📝 Commits (1)
bca35eeRefactor components props📊 Changes
23 files changed (+46 additions, -46 deletions)
View changed files
📝
src/components/Button.js(+2 -2)📝
src/components/Checkbox.js(+2 -2)📝
src/components/ColorButton.js(+2 -2)📝
src/components/Combobox.js(+2 -2)📝
src/components/EditableCombobox.js(+2 -2)📝
src/components/Entry.js(+2 -2)📝
src/components/FontButton.js(+2 -2)📝
src/components/Form.js(+2 -2)📝
src/components/Grid.js(+2 -2)📝
src/components/Group.js(+2 -2)📝
src/components/HorizontalBox.js(+2 -2)📝
src/components/HorizontalSeparator.js(+2 -2)📝
src/components/MenuBar.js(+2 -2)📝
src/components/MultilineEntry.js(+2 -2)📝
src/components/PasswordEntry.js(+2 -2)📝
src/components/ProgressBar.js(+2 -2)📝
src/components/RadioButton.js(+2 -2)📝
src/components/Slider.js(+2 -2)📝
src/components/Spinbox.js(+2 -2)📝
src/components/Tab.js(+2 -2)...and 3 more files
📄 Description
The goal of this PR is to improve the way we compose
universalDefaultPropsanduniversalPropTypes.By moving the destructuring statement on top of the object we ensure that any of the properties listed will not be overwritten by the defaults.
For example
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.