diff --git a/index.js b/index.js index 043b55f..9458674 100755 --- a/index.js +++ b/index.js @@ -49,6 +49,7 @@ export default class Toast extends Component { { toValue: this.props.opacity, duration: this.props.fadeInDuration, + useNativeDriver: true, } ) this.animation.start(() => { @@ -70,6 +71,7 @@ export default class Toast extends Component { { toValue: 0.0, duration: this.props.fadeOutDuration, + useNativeDriver: true, } ) this.animation.start(() => {