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