@mistong/eui-button
v0.1.11
Published
eui-button component
Downloads
3
Readme
eui-button
an button component for react
Useage
render() {
<div>
<Button size="small">small按钮</Button>
<Button type="primary">primary按钮</Button>
</div>
}
Button API Props
|参数|说明|类型|可选值|默认值| |----|----|----|----|------| |size|按钮大小|string|small,medium,large,big|medium| |type|类型|string|primary,secondary,normal|normal| |disabled|是否禁用|boolean|true,false|false| |className|自定义额外class|string|-|-| |htmlType|设置按钮类型|string|button,submit,reset|button| |loading|是否载入状态|boolean|true,false|false| |onClick|click事件|function|-|-| |href|按钮生成a链接|string|-|-|