// packages/components/src/navigator/navigator-back-button/component.tsx
import { contextConnect } from "../../context/index.js";
import { View } from "../../view/index.js";
import { useNavigatorBackButton } from "./hook.js";
import { jsx as _jsx } from "react/jsx-runtime";
function UnconnectedNavigatorBackButton(props, forwardedRef) {
  const navigatorBackButtonProps = useNavigatorBackButton(props);
  return /* @__PURE__ */ _jsx(View, {
    ref: forwardedRef,
    ...navigatorBackButtonProps
  });
}
var NavigatorBackButton = contextConnect(UnconnectedNavigatorBackButton, "Navigator.BackButton");
export {
  NavigatorBackButton
};
//# sourceMappingURL=component.js.map
