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

Function Example

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

Source from the content-addressed store, hash-verified

2import { Button, Col, Form, FormGroup, Label, Input, Row } from 'reactstrap';
3
4function Example(props) {
5 return (
6 <Form>
7 <Row className="row-cols-lg-auto g-3 align-items-center">
8 <Col>
9 <Label for="exampleEmail" className="visually-hidden">
10 Email
11 </Label>
12 <Input
13 type="email"
14 name="email"
15 id="exampleEmail"
16 placeholder="something@idk.cool"
17 />
18 </Col>
19 <Col>
20 <Label for="examplePassword" className="visually-hidden">
21 Password
22 </Label>
23 <Input
24 type="password"
25 name="password"
26 id="examplePassword"
27 placeholder="don't tell!"
28 />
29 </Col>
30 <Col>
31 <FormGroup check>
32 <Input type="checkbox" name="checkbox" id="exampleCheckbox" />
33 <Label check for="exampleCheckbox">
34 Remember Me
35 </Label>
36 </FormGroup>
37 </Col>
38 <Col>
39 <Button>Submit</Button>
40 </Col>
41 </Row>
42 </Form>
43 );
44}
45
46export 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…