Skip to content

Instantly share code, notes, and snippets.

@btodts
Last active March 26, 2019 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btodts/db177dabe9ee491d3d1bf7a9c0dd7289 to your computer and use it in GitHub Desktop.
Save btodts/db177dabe9ee491d3d1bf7a9c0dd7289 to your computer and use it in GitHub Desktop.
Animated.loop(
Animated.sequence([
Animated.delay(3000),
Animated.timing(this.state.width, {
toValue: 400,
duration: 2000
})
]),
{
iterations: 10
}
).start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment