import{createVNode as e,defineComponent as t,ref as n}from"vue";var r=t({compatConfig:{MODE:3},name:`AddButton`,inheritAttrs:!1,props:{prefixCls:String,editable:{type:Object},locale:{type:Object,default:void 0}},setup(t,{expose:r,attrs:i}){let a=n();return r({domRef:a}),()=>{let{prefixCls:n,editable:r,locale:o}=t;return!r||r.showAdd===!1?null:e(`button`,{ref:a,type:`button`,class:`${n}-nav-add`,style:i.style,"aria-label":o?.addAriaLabel||`Add tab`,onClick:e=>{r.onEdit(`add`,{event:e})}},[r.addIcon?r.addIcon():`+`])}}});export{r as default};