JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q59075F
  • License MIT

input-group-button ui component for react

Package Exports

  • bee-input-group-button

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bee-input-group-button) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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