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

Function Example

stories/examples/Form/FormGrid.js:12–135  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

10} from 'reactstrap';
11
12function Example(props) {
13 return (
14 <Form>
15 <FormGroup row>
16 <Label for="exampleEmail" sm={2}>
17 Email
18 </Label>
19 <Col sm={10}>
20 <Input
21 type="email"
22 name="email"
23 id="exampleEmail"
24 placeholder="with a placeholder"
25 />
26 </Col>
27 </FormGroup>
28 <FormGroup row>
29 <Label for="examplePassword" sm={2}>
30 Password
31 </Label>
32 <Col sm={10}>
33 <Input
34 type="password"
35 name="password"
36 id="examplePassword"
37 placeholder="password placeholder"
38 />
39 </Col>
40 </FormGroup>
41 <FormGroup row>
42 <Label for="exampleSelect" sm={2}>
43 Select
44 </Label>
45 <Col sm={10}>
46 <Input type="select" name="select" id="exampleSelect">
47 <option>1</option>
48 <option>2</option>
49 <option>3</option>
50 <option>4</option>
51 <option>5</option>
52 </Input>
53 </Col>
54 </FormGroup>
55 <FormGroup row>
56 <Label for="exampleSelectMulti" sm={2}>
57 Select Multiple
58 </Label>
59 <Col sm={10}>
60 <Input
61 type="select"
62 name="selectMulti"
63 id="exampleSelectMulti"
64 multiple
65 >
66 <option>1</option>
67 <option>2</option>
68 <option>3</option>
69 <option>4</option>

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…