名称
描述
按钮
属性 | 描述 | 必填 | 类型 | 默认值 |
---|---|---|---|---|
onClick | Button 点击时的回调 | any |
||
size | 尺寸 "medium", "small", "large" | Enum |
medium | |
type | 类型 "primary", "secondary", "tertiary", "danger", "success", "warning", "info", "light", "dark" | Enum |
primary | |
round | 是否展示圆角 | boolean |
false | |
disabled | 是否禁用 | boolean |
false | |
href | 跳转链接 | string |
||
className | class | string |
||
style | style | any |
{} | |
children | children | any |
null |