Could anyone provide me with an example for stopAnimation? I been trying for some time but I can't get it to work. It says invoke it for the element but element does not have stopAnimation as a function
`import React, { Component } from 'react';
import {
RefreshControl,
ScrollView,
AsyncStorage,
Image,
TouchableWithoutFeedback
} from 'react-native';
import * as Animatable from 'react-native-animatable';
export default class ExampleView extends Component {
handleViewRef = ref => this.view = ref;
Could anyone provide me with an example for stopAnimation? I been trying for some time but I can't get it to work. It says invoke it for the element but element does not have stopAnimation as a function
`import React, { Component } from 'react'; import { RefreshControl, ScrollView, AsyncStorage, Image, TouchableWithoutFeedback } from 'react-native'; import * as Animatable from 'react-native-animatable'; export default class ExampleView extends Component { handleViewRef = ref => this.view = ref;
bounce = () => console.log(this.view.ref.stopAnimation)
render() { return (
} }`