UNPKG

1.02 kBJavaScriptView Raw
1import _classCallCheck from"@babel/runtime/helpers/classCallCheck";import _createClass from"@babel/runtime/helpers/createClass";import _possibleConstructorReturn from"@babel/runtime/helpers/possibleConstructorReturn";import _getPrototypeOf from"@babel/runtime/helpers/getPrototypeOf";import _inherits from"@babel/runtime/helpers/inherits";import{Component}from'react';var Stop=function(_Component){_inherits(Stop,_Component);function Stop(){var _getPrototypeOf2;var _this;_classCallCheck(this,Stop);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(Stop)).call.apply(_getPrototypeOf2,[this].concat(args)));_this.setNativeProps=function(){var parent=_this.props.parent;if(parent){parent.forceUpdate();}};return _this;}_createClass(Stop,[{key:"render",value:function render(){return null;}}]);return Stop;}(Component);Stop.displayName='Stop';export{Stop as default};
2//# sourceMappingURL=Stop.js.map
\No newline at end of file