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