UNPKG

1.37 kBJavaScriptView Raw
1import InputGroup from '../build/index';
2import React, { Component } from 'react';
3import FormControl from 'bee-form-control';
4import Button from 'bee-button';
5
6
7class Demo extends Component {
8 render(){
9 return(
10 <div>
11 <InputGroup>
12 <InputGroup.Addon>.00</InputGroup.Addon>
13 <FormControl type="text" />
14 <InputGroup.Addon>.00</InputGroup.Addon>
15 </InputGroup>
16 <br/><br/>
17 <InputGroup>
18 <InputGroup.Addon>.00</InputGroup.Addon>
19 <FormControl type="text" />
20 </InputGroup>
21 <br/><br/>
22 <InputGroup>
23 <FormControl type="text" />
24 <InputGroup.Addon>.00</InputGroup.Addon>
25 </InputGroup>
26 <br/><br/>
27 <InputGroup>
28 <InputGroup.Button>
29 <Button>test</Button>
30 </InputGroup.Button>
31 <FormControl type="text" />
32 </InputGroup>
33 <br/><br/>
34 <InputGroup>
35 <FormControl type="text" />
36 <InputGroup.Button>
37 <Button>test</Button>
38 </InputGroup.Button>
39 </InputGroup>
40 <br/><br/>
41 <InputGroup>
42 <InputGroup.Button>
43 <Button>test</Button>
44 </InputGroup.Button>
45 <FormControl type="text" />
46 <InputGroup.Button>
47 <Button>test</Button>
48 </InputGroup.Button>
49 </InputGroup>
50 </div>
51 )
52 }
53}
54export default Demo;