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
import React, {Animated, Component} from 'react-native' | |
class Player extends Component { | |
constructor () { | |
super() | |
const width = {pts: 30, ast:...} | |
this.state = { | |
pts: new Animated.Value(width.pts) | |
ast: new Animated.Value(width.ast), | |
reb: new Animated.Value(width.reb) |