-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ iOS Select new collapse options (#483)
* ♻️ CollapsiblePickerIOS animapte Picker method * ✨ animate picker on isCollapsed prop animate when component will receive locals.isCollapsed * ✨ set Animated start value depending on isCollapsed * ✨ add isCollapsed to get locals in Select Component * ✅ tests for Select:isCollapes * 🐛 use this for class methods * ✅ test for Select:onCollapse * 🎨 rename callback onCollapse => onCollapseChange * 🎨 rename collapse method for Select * ✨ trigger onCollapseChange callback, when collapse change * 🎨 rename method collapsePicker to togglePicker * 🎨 extract animatePicker method from togglePicker use it in componentWillReceiveProps * 📝 updating readme add options description for isCollapsed and onCollapsedChange * 🚨 removed lint warning with lint --fix * 🐛 use old isCollapsed state on update, when option not set
- Loading branch information
1 parent
c89a85d
commit d711ecc
Showing
5 changed files
with
1,208 additions
and
592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.