Red-UI / button

redui button

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redui-button

按钮组件

参数 (Props)

参数名 说明 必填 类型 默认值 可选值
type 按钮主题类型 string primary primary/normal/alert
ghost 是否为 ghost 类型按钮 boolean false
size 按钮大小 string middle small/middle/large
htmlType HTML button 元素的 type string button See MDN
disabled 是否为 disable 状态 boolean false
onClick 鼠标点击的时候出发 function
onHover 鼠标 Hover 的时候出发 function
className className string
style style object

Author

Ling.

About

redui button


Languages

Language:JavaScript 82.1%Language:CSS 17.9%