forked from reactstrap/reactstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInputGroupButton.js
More file actions
27 lines (25 loc) · 778 Bytes
/
Copy pathInputGroupButton.js
File metadata and controls
27 lines (25 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import React from 'react';
import { InputGroup, InputGroupButton, Input, Button } from 'reactstrap';
import ButtonDropdownExample from './ButtonDropdown';
const Example = (props) => {
return (
<div>
<InputGroup>
<InputGroupButton><Button>I'm a button</Button></InputGroupButton>
<Input />
</InputGroup>
<br />
<InputGroup>
<Input />
<InputGroupButton><ButtonDropdownExample /></InputGroupButton>
</InputGroup>
<br />
<InputGroup>
<InputGroupButton><ButtonDropdownExample /></InputGroupButton>
<Input placeholder="and..." />
<InputGroupButton><Button color="secondary">I'm a button</Button></InputGroupButton>
</InputGroup>
</div>
);
};
export default Example;