type
按钮类型
'primary' | 'default' | 'text'
'default'
color
按钮颜色
'blue' | 'green' | 'red' | 'orange' | 'gray'
'blue'
size
按钮尺寸
'large' | 'big' | 'medium' | 'small'
'medium'
radius
按钮圆角样式
'round' | 'circle' | 'rect'
'round'
icon
图标组件或图标名称
string | Component
-
iconPosition
图标位置
'start' | 'end'
'start'
disabled
是否禁用
boolean
false
loading
是否显示加载状态
boolean
false
block
是否块级按钮
boolean
false
autofocus
是否自动聚焦
boolean
false
customClasses
自定义 CSS 类名数组
string[]
[]
customStyle
自定义样式对象
CSSProperties
{}