Socket
Book a DemoInstallSign in
Socket

@mistong/eui-button

Package Overview
Dependencies
Maintainers
5
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mistong/eui-button

eui-button component

0.1.11
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
5
Weekly downloads
 
Created
Source

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按钮大小stringsmall,medium,large,bigmedium
type类型stringprimary,secondary,normalnormal
disabled是否禁用booleantrue,falsefalse
className自定义额外classstring--
htmlType设置按钮类型stringbutton,submit,resetbutton
loading是否载入状态booleantrue,falsefalse
onClickclick事件function--
href按钮生成a链接string--

Keywords

react

FAQs

Package last updated on 13 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.