text: var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:true});exports.default=SceneMap;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));var _createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _possibleConstructorReturn2=_interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));var _getPrototypeOf2=_interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));var _inherits2=_interopRequireDefault(require("@babel/runtime/helpers/inherits"));var React=_interopRequireWildcard(require("react"));var _jsxFileName="/Users/osdnk/work/react-native-tab-view/src/SceneMap.tsx";var SceneComponent=function(_React$PureComponent){(0,_inherits2.default)(SceneComponent,_React$PureComponent);function SceneComponent(){(0,_classCallCheck2.default)(this,SceneComponent);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(SceneComponent).apply(this,arguments));}(0,_createClass2.default)(SceneComponent,[{key:"render",value:function render(){var _this$props=this.props,component=_this$props.component,rest=(0,_objectWithoutProperties2.default)(_this$props,["component"]);return React.createElement(component,rest);}}]);return SceneComponent;}(React.PureComponent);function SceneMap(scenes){return function(_ref){var route=_ref.route,jumpTo=_ref.jumpTo,position=_ref.position;return React.createElement(SceneComponent,{key:route.key,component:scenes[route.key],route:route,jumpTo:jumpTo,position:position,__source:{fileName:_jsxFileName,lineNumber:16}});};}
  //# sourceMappingURL=SceneMap.js.map