bee-input-group-button

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i bee-input-group-button

Weekly Downloads

13

Version

1.0.0

License

MIT

Last publish

Collaborators

  • duxue
  • jwangyangls
  • shaohlr
  • honely1314
  • xiaoshutong
  • yonyoufed
  • jonyw
  • guoyongfeng
  • kvkens
  • whizbz
  • npm_yx
  • bjyxszd
  • tinper-bot
  • houjitong
  • gaox2025f
  • gcht163
  • cnkvkens
  • diozhu
  • wangjings123
  • ahua52