Skip to content

Instantly share code, notes, and snippets.

View shirleycharlin's full-sized avatar
😝
Practice

Shirley Charlin Lee shirleycharlin

😝
Practice
View GitHub Profile
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)