"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.NavigatorBackButton = void 0;
var _context = require("../../context");
var _view = require("../../view");
var _hook = require("./hook");
var _jsxRuntime = require("react/jsx-runtime");
/**
 * External dependencies
 */

/**
 * Internal dependencies
 */

function UnconnectedNavigatorBackButton(props, forwardedRef) {
  const navigatorBackButtonProps = (0, _hook.useNavigatorBackButton)(props);
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_view.View, {
    ref: forwardedRef,
    ...navigatorBackButtonProps
  });
}
const NavigatorBackButton = exports.NavigatorBackButton = (0, _context.contextConnect)(UnconnectedNavigatorBackButton, 'Navigator.BackButton');
//# sourceMappingURL=component.js.map