"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.NavigatorButton = 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 UnconnectedNavigatorButton(props, forwardedRef) {
  const navigatorButtonProps = (0, _hook.useNavigatorButton)(props);
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_view.View, {
    ref: forwardedRef,
    ...navigatorButtonProps
  });
}
const NavigatorButton = exports.NavigatorButton = (0, _context.contextConnect)(UnconnectedNavigatorButton, 'Navigator.Button');
//# sourceMappingURL=component.js.map