(prevProps)
| 59 | } |
| 60 | |
| 61 | componentDidUpdate(prevProps) { |
| 62 | if (prevProps.animating !== this.props.animating) { |
| 63 | if (this.props.animating) { |
| 64 | this.animate(); |
| 65 | this.spin(); |
| 66 | } else { |
| 67 | this.stopAnimations(); |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | animate(iteration = 1) { |
| 73 | Animated.sequence([ |
nothing calls this directly
no test coverage detected