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

bee-input-group

npm version Build Status Coverage Status

InputGroup 是包装 FormControl InputGroupButton InputGroupAddon的元素,实际应用中 InputGroupAddon InputGroupButton被集成到InputGroup中使用,格式如:InputGroup.Addon InputGroup.Button

使用

使用单独的bee-input-group包

组件引入

先进行下载bee-input-group包

npm install --save bee-input-group

组件调用

import InputGroup from 'bee-input-group';
import Button from 'bee-button'
React.render(<div>
	<InputGroup>
 		<InputGroup.Addon>.00</InputGroup.Addon>
        <FormControl type="text" />
    </InputGroup>
    <InputGroup>
 		<InputGroup.Button>
 			<Button>toggle</Button>
 		</InputGroup.Button>
        <FormControl type="text" />
    </InputGroup>
</div>, document.getElementById('target'));

样式引入

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

开发调试

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

Current Tags

  • 2.0.4                                ...           latest (2 months ago)

32 Versions

  • 2.0.4                                ...           2 months ago
  • 2.0.3                                ...           a year ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.1.13                                ...           3 years ago
  • 0.1.12                                ...           4 years ago
  • 0.1.11                                ...           4 years ago
  • 0.1.10                                ...           4 years ago
  • 0.1.9                                ...           4 years ago
  • 0.1.8                                ...           4 years ago
  • 0.1.7                                ...           4 years ago
  • 0.1.6                                ...           4 years ago
  • 0.1.5                                ...           4 years ago
  • 0.1.4                                ...           4 years ago
  • 0.1.3                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.6                                ...           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

Copyright 2014 - 2017 © taobao.org |