import{eventType as t}from"../_util/type.mjs";import o from"../_util/vue-types/index.mjs";function a(e){return e==="danger"?{danger:!0}:{type:e}}const i=()=>({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:o.any,href:String,target:String,title:String,onClick:t(),onMousedown:t()});export{i as buttonProps,a as convertLegacyProps,i as default};
