cefc-ui-button
0.0.21 • Public • Published Button
API
Button
按钮的属性说明如下:
属性 |
说明 |
类型 |
默认值 |
prefix |
样式前缀,如:cefc-button , 可用于自定义样式 |
String |
cefc-button |
children |
子元素 |
React.element |
无 |
text |
button中的文字内容 |
String |
无 |
type |
按钮的样式, primary 等 |
String |
无 |
fixed |
button的fix定位位置,bottom 或者top |
String |
无 |
disabled |
按钮是否可用 |
String |
false |
radius |
按钮是否需要圆角样式 |
String |
false |
block |
按钮是否独占一行 |
String |
false |
height |
按钮高度 |
String |
无 |
width |
按钮宽度 |
String |
无 |
onClick |
按钮点击触发事件 |
Func |
无 |
className |
组件外部传入的class |
String |
无 |
style |
组件外部传入的style |
Object |
无 |
Button.Group
属性 |
说明 |
类型 |
默认值 |
prefix |
样式前缀,如:cefc-button , 可用于自定义样式 |
String |
cefc-button |
children |
子元素 |
React.element |
无 |
justify |
是否自适应宽度 |
String |
false |
vertical |
是否垂直排列 |
String |
false |
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads