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