general-button
<basic.general-button>
通用按钮构件。
Examples
Types
Sizes
Shapes
Danger
Disabled
Icons
Click
Links
Properties
Name | Description | Type | Default |
---|---|---|---|
type | 按钮类型 | ButtonType | |
size | 按钮大小 | ComponentSize | "medium" |
danger | 是否开启危险状态 | boolean | false |
icon | 图标 | GeneralIconProps | |
shape | 按钮形状,支持圆形、椭圆形,不设置为默认方形 | Shape | |
disabled | 是否禁用 | boolean | false |
href | 链接地址 | string | |
target | 链接类型 | string | |
buttonStyle | 按钮样式 | React.CSSProperties |
Slots
Name | Description |
---|---|
(default) | 按钮内容 |