You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

bee-input-group-button

Package Overview
Dependencies
Maintainers
9
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bee-input-group-button

input-group-button ui component for react

1.0.0
latest
Source
npmnpm
Version published
Maintainers
9
Created
Source

bee-input-group-button

npm version Build Status Coverage Status

InputGroupButton 作为FormControl的边按钮存在,比如提交按钮或者下拉按钮选项。

使用

使用单独的bee-input-group-button包

组件引入

先进行下载bee-input-group-button包

npm install --save bee-input-group-button

组件调用

import InputGroupButton from 'bee-input-group-button';
React.render(<div>
    <InputGroupButton/>
</div>, document.getElementById('target'));

样式引入

  • 可以使用link引入dist目录下bee-input-group-button.css
<link rel="stylesheet" href="./node_modules/build/bee-input-group-button.css">
  • 可以在js中import样式
import "./node_modules/src/InputGroupButton.scss"
//或是
import "./node_modules/build/bee-input-group-button.css"

API

参数说明类型默认值

开发调试

$ git clone https://github.com/tinper-bee/bee-input-group-button
$ cd bee-input-group-button
$ npm install
$ npm run dev

Keywords

react

FAQs

Package last updated on 19 Oct 2017

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