// packages/block-editor/src/components/border-radius-control/linked-button.js
import { Button } from "@wordpress/components";
import { link, linkOff } from "@wordpress/icons";
import { __ } from "@wordpress/i18n";
import { jsx } from "react/jsx-runtime";
function LinkedButton({ isLinked, ...props }) {
  const label = isLinked ? __("Unlink radii") : __("Link radii");
  return /* @__PURE__ */ jsx(
    Button,
    {
      ...props,
      className: "components-border-radius-control__linked-button",
      size: "small",
      icon: isLinked ? link : linkOff,
      iconSize: 24,
      label
    }
  );
}
export {
  LinkedButton as default
};
//# sourceMappingURL=linked-button.js.map
