import { AnchorButton } from "@contember/ui";
import { Link } from "./Link.js";
import { Component } from "@contember/binding";
import { jsxDEV } from "react/jsx-dev-runtime";
var _jsxFileName = "/__w/interface/interface/packages/admin/src/routing/binding/LinkButton.tsx";
const LinkButton = Component(({
  to,
  ...buttonProps
}) => {
  return /* @__PURE__ */ jsxDEV(Link, {
    ...buttonProps,
    to,
    Component: AnchorButton
  }, void 0, false, {
    fileName: _jsxFileName,
    lineNumber: 11,
    columnNumber: 3
  }, void 0);
});
LinkButton.displayName = "LinkButton";
const PageLinkButton = LinkButton;
export {
  LinkButton,
  PageLinkButton
};
//# sourceMappingURL=LinkButton.js.map
