import{_ as d}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as n,c as o,a as e,G as i,t as u,n as l,i as r}from"./index-Bb2UEb_P.js";const b={key:0,class:"button-loader__wrapper"},c={__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)=>(n(),o("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})},[i(s.$slots,"icon",{},void 0,!0),e("span",null,u(t.label),1)],2),t.isLoading?(n(),o("div",b,a[0]||(a[0]=[e("div",{class:"button-loader__loader"},null,-1)]))):r("",!0)],2))}},m=d(c,[["__scopeId","data-v-50baeb1a"]]);export{m as _};
