Created
July 16, 2018 15:15
-
-
Save stephencookdev/500f019129d820e0b82b972607c16606 to your computer and use it in GitHub Desktop.
`SwitchWithSlide` example - swap
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
swapChildren = () => { | |
this.setState({ | |
childPosition: Slider.FROM_RIGHT, | |
prevChild: null, | |
prevUniqId: null, | |
animationCallback: null | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment