Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.animations = {
- rotate: qwe.map(() => {
- return new Animated.Value(0);
- }),
- scale: qwe.map(() => {
- return new Animated.Value(0);
- }),
- value: qwe.map(() => {
- return 0;
- })
- };
- this.animations.rotate.map((animation, index) => {
- animation.addListener(({ value }) => (this.animations.value[index] = value));
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement