import { createElement } from "react";
import { AnchorButton } from "@contember/ui";
import { Link } from "./Link.js";
import { Component } from "@contember/binding";
const LinkButton = Component(({ to, ...buttonProps }) => {
  return /* @__PURE__ */ createElement(Link, {
    ...buttonProps,
    to,
    Component: AnchorButton
  });
});
LinkButton.displayName = "LinkButton";
const PageLinkButton = LinkButton;
export { LinkButton, PageLinkButton };
//# sourceMappingURL=LinkButton.js.map
