2.0.4 • Published 4 years ago

bee-input-group v2.0.4

Weekly downloads
248
License
MIT
Repository
github
Last release
4 years ago

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
2.0.4

4 years ago

2.0.3

5 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.13

7 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago