bee-input-group-addon
input-group-addon ui component for react
Last updated a year ago by yangchch .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bee-input-group-addon 
SYNC missed versions from official npm registry.

bee-input-group-addon

npm version Build Status Coverage Status

InputGroupAddon 作为FormControl的边标签容器存在,修饰补充FormControl.比如文字说明,货币说明。

使用

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

组件引入

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

npm install --save bee-input-group-addon

组件调用

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

样式引入

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

API

参数 说明 类型 默认值

开发调试

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

Current Tags

  • 2.0.1                                ...           latest (a year ago)

10 Versions

  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.1.3                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.5                                ...           4 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
Downloads
Today 47
This Week 93
This Month 513
Last Day 46
Last Week 305
Last Month 1,369
Dependencies (2)
Dev Dependencies (7)

Copyright 2014 - 2016 © taobao.org |