Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Layout Animation Example Spring
// Called when a top button is pressed, with index corresponding to button title.
onPress(index) {
this.setState({index: index});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment