const e=require("../_util/type.js"),t=require("../_util/vue-types/index.js");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.default.any,href:String,target:String,title:String,onClick:e.eventType(),onMousedown:e.eventType()});exports.buttonProps=r,exports.default=r,exports.convertLegacyProps=n;