(isActive)
| 101 | } |
| 102 | |
| 103 | _toggle(isActive) { |
| 104 | const { animationDuration, easing, useNativeDriver } = this.props; |
| 105 | this.isActive = isActive; |
| 106 | Animated.timing(this.state.focusedAnim, { |
| 107 | toValue: isActive ? 1 : 0, |
| 108 | duration: animationDuration, |
| 109 | easing, |
| 110 | useNativeDriver: useNativeDriver || false, |
| 111 | }).start(); |
| 112 | } |
| 113 | |
| 114 | // public methods |
| 115 |
no outgoing calls
no test coverage detected