import{Button as m}from"./shims/wp-components.js";import{n as k}from"./common-vendor-L1U_8ehK.js";const $=({children:n,variant:t="secondary",size:o="default",disabled:r=!1,onClick:a,className:l="",style:s,type:i="button",icon:u,iconPosition:f="left",isDestructive:p=!1,isBusy:e=!1,href:b,target:c})=>{const d=["prorank-button",`prorank-button--${t}`,o!=="default"?`prorank-button--${o}`:"",p?"prorank-button--destructive":"",l].filter(Boolean).join(" ");return k(m,{variant:t,disabled:r||e,onClick:a,className:d,style:s,icon:u,iconPosition:f,isBusy:e,href:b,target:c},n)};export{$ as P};
