bee-control-label

0.1.6 • Public • Published

bee-control-label

npm version Build Status Coverage Status

修饰FormControl文字元素

使用

使用单独的bee-control-label包

组件引入

先进行下载bee-control-label包

npm install --save bee-control-label

组件调用

import ControlLabel from 'bee-control-label';
 
React.render(<div>
        <ControlLabel />
        <ControlLabel>test</ControlLable>
</div>, document.getElementById('target'));
 

样式引入

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

API

参数 说明 类型 默认值

开发调试

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

Package Sidebar

Install

npm i bee-control-label

Weekly Downloads

9

Version

0.1.6

License

MIT

Last publish

Collaborators

  • ahua52