1.0.5 • Published 2 years ago
@js-cli/react-button v1.0.5
物料名称
名称
物料描述
描述
API
Button
按钮
属性 | 描述 | 必填 | 类型 | 默认值 |
---|---|---|---|---|
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 |