import e from"react";import{getAriaLabelFromProps as r}from"../utils.js";import{Button as n}from"../../node_modules/@cortexapps/react-plugin-ui/dist/index.js";const t=({children:t,dark:a,external:i,href:o,noDecoration:l=!1,onClick:c,...s})=>{const d=r({...s,children:t}),m=i?{"aria-label":d,onClick:c,rel:"noopener noreferrer",target:"_blank",...s}:{"aria-label":d,onClick:c,...s};return e.createElement(n,{asChild:!0,variant:"link",size:"inline",...s},e.createElement("a",{href:o,...m},t))};export{t as default};
//# sourceMappingURL=Anchor.js.map
