"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),i=require("../_util/classNames.js");function l(n){return function({prefixCls:u,onExpand:a,record:c,expanded:e,expandable:o}){const t=`${u}-row-expand-icon`;return s.createVNode("button",{type:"button",onClick:r=>{a(c,r),r.stopPropagation()},class:i.default(t,{[`${t}-spaced`]:!o,[`${t}-expanded`]:o&&e,[`${t}-collapsed`]:o&&!e}),"aria-label":e?n.collapse:n.expand,"aria-expanded":e},null)}}exports.default=l;
