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

none

Package Sidebar

Install

npm i cefc-ui-button

Weekly Downloads

22

Version

0.0.21

License

ISC

Unpacked Size

1.1 MB

Total Files

15

Last publish

Collaborators

  • carltonxiang
  • chenghuijun
  • kane
  • simon_zhx
  • wscops