MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / Example

Function Example

stories/examples/InputGroup/Overview.js:4–37  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

2import { InputGroup, InputGroupText, Input } from 'reactstrap';
3
4function Example(props) {
5 return (
6 <div>
7 <InputGroup>
8 <InputGroupText>@</InputGroupText>
9 <Input placeholder="username" />
10 </InputGroup>
11 <br />
12 <InputGroup>
13 <InputGroupText>
14 <Input
15 addon
16 type="checkbox"
17 aria-label="Checkbox for following text input"
18 />
19 </InputGroupText>
20 <Input placeholder="Check it out" />
21 </InputGroup>
22 <br />
23 <InputGroup>
24 <Input placeholder="username" />
25 <InputGroupText>@example.com</InputGroupText>
26 </InputGroup>
27 <br />
28 <InputGroup>
29 <InputGroupText>$</InputGroupText>
30 <InputGroupText>$</InputGroupText>
31 <Input placeholder="Dolla dolla billz yo!" />
32 <InputGroupText>$</InputGroupText>
33 <InputGroupText>$</InputGroupText>
34 </InputGroup>
35 </div>
36 );
37}
38
39export default Example;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…