import{eventType as e}from"../_util/type.mjs";import t from"../_util/vue-types/index.mjs";function n(e){return e===`danger`?{danger:!0}:{type:e}}var r=()=>({prefixCls:String,type:String,htmlType:{type:String,default:`button`},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:t.any,href:String,target:String,title:String,onClick:e(),onMousedown:e()});export{r as buttonProps,r as default,n as convertLegacyProps};