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