import{_ as d}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as n,o,a as e,h as i,L as u,t as r,n as l}from"./index-CipWZKo_.js";const c={key:0,class:"button-loader__wrapper"},b={__name:"ButtonDefault",props:{isLoading:{type:Boolean,default:!1},label:{type:String,default:""},disabled:{type:Boolean,default:!1},type:{type:String,default:"btn--blue"}},setup(t){return(s,a)=>(o(),n("button",{class:l(["btn btn-default",[t.type,{button__loading:t.isLoading,button__disabled:t.disabled}]])},[e("div",{class:l({"button-content":!0,"button-content__loading":t.isLoading})},[u(s.$slots,"icon",{},void 0,!0),e("span",null,r(t.label),1)],2),t.isLoading?(o(),n("div",c,a[0]||(a[0]=[e("div",{class:"button-loader__loader"},null,-1)]))):i("",!0)],2))}},m=d(b,[["__scopeId","data-v-a241ef09"]]);export{m as _};
