Skip to content

Instantly share code, notes, and snippets.

@pawlucci
Created January 30, 2018 09:20
Show Gist options
  • Save pawlucci/0555bf1cc2d2deef29f2ac74d1afe3b6 to your computer and use it in GitHub Desktop.
Save pawlucci/0555bf1cc2d2deef29f2ac74d1afe3b6 to your computer and use it in GitHub Desktop.
const progressAnimatedUpdater = Animated.event(
[
{
nativeEvent: {
progress: this.state.progress,
},
},
],
{
useNativeDriver: true,
},
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment