text: 'use strict';
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  
  var _react = require('react');
  
  var _react2 = _interopRequireDefault(_react);
  
  var _NavigationContext = require('./NavigationContext');
  
  var _NavigationContext2 = _interopRequireDefault(_NavigationContext);
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  class SceneView extends _react2.default.PureComponent {
    render() {
      var { screenProps, component: Component, navigation } = this.props;
      return _react2.default.createElement(
        _NavigationContext2.default.Provider,
        { value: navigation },
        _react2.default.createElement(Component, { screenProps: screenProps, navigation: navigation })
      );
    }
  }
  exports.default = SceneView;