import e from"../_util/vue-types/index.mjs";import{cloneVNode as t,createVNode as n,isVNode as r}from"vue";var i=(e,{slots:i})=>{let{class:a,customizeIcon:o,customizeIconProps:s,onMousedown:c,onClick:l}=e,u;return u=typeof o==`function`?o(s):r(o)?t(o):o,n(`span`,{class:a,onMousedown:e=>{e.preventDefault(),c&&c(e)},style:{userSelect:`none`,WebkitUserSelect:`none`},unselectable:`on`,onClick:l,"aria-hidden":!0},[u===void 0?n(`span`,{class:a.split(/\s+/).map(e=>`${e}-icon`)},[i.default?.()]):u])};i.inheritAttrs=!1,i.displayName=`TransBtn`,i.props={class:String,customizeIcon:e.any,customizeIconProps:e.any,onMousedown:Function,onClick:Function};export{i as default};