import type { CSSProperties, PropType } from 'vue' import type { HyIconProps } from '../hy-icon/typing' const buttonProps = { /** 是否显示按钮的细边框 */ hairline: { type: Boolean, default: true }, /** 是否显示按钮的边框 */ border: { type: Boolean, default: true }, /** * 按钮的预置样式 * @values info,primary,error,warning,success * */ type: { type: String, default: 'primary' }, /** * 按钮尺寸 * @values large,medium,small,mini * */ size: { type: String, default: 'medium' }, /** * 按钮形状 * @values circle,square * */ shape: { type: String, default: 'square' }, /** 按钮是否镂空,背景色透明 */ plain: { type: Boolean, default: false }, /** 是否禁用 */ disabled: { type: Boolean, default: false }, /** 按钮名称前是否带 loading 图标 */ loading: { type: Boolean, default: false }, /** 加载中提示文字 */ loadingText: String, /** * 加载状态图标类型 * @values spinner,circle,semicircle * */ loadingMode: { type: String, default: 'spinner' }, /** 加载图标大小 */ loadingSize: { type: [Number, String], default: 13 }, /** 开放能力,具体请看uniapp稳定关于button组件部分说明 */ openType: String, /** 用于