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

Function Example

stories/examples/Form/FormGridFormRow.js:4–78  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

2import { Col, Row, Button, Form, FormGroup, Label, Input } from 'reactstrap';
3
4function Example(props) {
5 return (
6 <Form>
7 <Row>
8 <Col md={6}>
9 <FormGroup>
10 <Label for="exampleEmail">Email</Label>
11 <Input
12 type="email"
13 name="email"
14 id="exampleEmail"
15 placeholder="with a placeholder"
16 />
17 </FormGroup>
18 </Col>
19 <Col md={6}>
20 <FormGroup>
21 <Label for="examplePassword">Password</Label>
22 <Input
23 type="password"
24 name="password"
25 id="examplePassword"
26 placeholder="password placeholder"
27 />
28 </FormGroup>
29 </Col>
30 </Row>
31 <FormGroup>
32 <Label for="exampleAddress">Address</Label>
33 <Input
34 type="text"
35 name="address"
36 id="exampleAddress"
37 placeholder="1234 Main St"
38 />
39 </FormGroup>
40 <FormGroup>
41 <Label for="exampleAddress2">Address 2</Label>
42 <Input
43 type="text"
44 name="address2"
45 id="exampleAddress2"
46 placeholder="Apartment, studio, or floor"
47 />
48 </FormGroup>
49 <Row>
50 <Col md={6}>
51 <FormGroup>
52 <Label for="exampleCity">City</Label>
53 <Input type="text" name="city" id="exampleCity" />
54 </FormGroup>
55 </Col>
56 <Col md={4}>
57 <FormGroup>
58 <Label for="exampleState">State</Label>
59 <Input type="text" name="state" id="exampleState" />
60 </FormGroup>
61 </Col>

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…