EdButton

按钮

格式默认

<EdButton></EdButton>
<EdButton disabled={true}></EdButton>
<EdButton size='small'>1/2</EdButton>

推荐类型

<EdButton type='primary'>推荐按钮</EdButton>
<EdButton radius={0} size='small'>

props参数

属性

类型

可选值

默认值

说明

type

string

primary、text

--

按钮类型暂时只有推荐、文字类型

size

string

small

--

按钮大小类型暂时只有small小类型

radius

number

--

---

按钮圆角尺寸单位为像素

disabled

boolean

true、false

false

按钮是否可用

Last updated

Was this helpful?