bee-label
control-label ui component for react
Last updated 6 months ago by tinper-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bee-label 
SYNC missed versions from official npm registry.

bee-label

bee-control-label 更名为 bee-label

npm version Build Status Coverage Status

修饰FormControl文字元素

使用

使用单独的bee-label包

组件引入

先进行下载bee-label包

npm install --save bee-label

组件调用

import ControlLabel from 'bee-label';

React.render(<div>
        <ControlLabel />
        <ControlLabel>test</ControlLable>
</div>, document.getElementById('target'));

样式引入

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

API

参数 说明 类型 默认值

开发调试

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

Current Tags

  • 1.0.1                                ...           latest (6 months ago)

7 Versions

  • 1.0.1                                ...           6 months ago
  • 1.0.0                                ...           3 years ago
  • 0.2.3                                ...           3 years ago
  • 0.2.2                                ...           3 years ago
  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.6                                ...           4 years ago

Copyright 2014 - 2016 © taobao.org |