Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var AnimateValue=function AnimateValue(v){return new _reactNativeWeb.Animated.Value(v);};
var AnimateValue=function AnimateValue(v){return new _reactNativeWeb.Animated.Value(v);};var
}_createClass(Toast,[{key:'render',value:function render()
{
if(this.state.remove){
return null;
}
return(
_react2.default.createElement(_reactNativeWeb.Animated.View,{style:
[
styles.toast,
{
transform:[
{scale:this.state.scale}]}],__source:{fileName:_jsxFileName,lineNumber:83}},
_react2.default.createElement(_reactNativeWeb.Text,{style:styles.toastInner,__source:{fileName:_jsxFileName,lineNumber:92}},this.state.message)));
}},{key:'getInitState',value:function getInitState(
}},{key:'slideAnimation',value:function slideAnimation()
{
var toValue=this.props.visible?1:0;
return _reactNativeWeb.Animated.timing(this.translateX,{toValue:toValue,duration:260,easing:_reactNativeWeb.Easing.inOut(_reactNativeWeb.Easing.ease)});
}},{key:'fadeAnimation',value:function fadeAnimation()
get: function get() {
return _reactNativeWeb.Animated;
}
});