(props)
| 9 | } from 'reactstrap'; |
| 10 | |
| 11 | function Example(props) { |
| 12 | return ( |
| 13 | <Form> |
| 14 | <FormGroup> |
| 15 | <Label for="exampleEmail">Input without validation</Label> |
| 16 | <Input /> |
| 17 | <FormFeedback>You will not be able to see this</FormFeedback> |
| 18 | <FormText>Example help text that remains unchanged.</FormText> |
| 19 | </FormGroup> |
| 20 | <FormGroup> |
| 21 | <Label for="exampleEmail">Valid input</Label> |
| 22 | <Input valid /> |
| 23 | <FormFeedback valid>Sweet! that name is available</FormFeedback> |
| 24 | <FormText>Example help text that remains unchanged.</FormText> |
| 25 | </FormGroup> |
| 26 | <FormGroup> |
| 27 | <Label for="examplePassword">Invalid input</Label> |
| 28 | <Input invalid /> |
| 29 | <FormFeedback>Oh noes! that name is already taken</FormFeedback> |
| 30 | <FormText>Example help text that remains unchanged.</FormText> |
| 31 | </FormGroup> |
| 32 | <FormGroup> |
| 33 | <Label for="exampleEmail">Input without validation</Label> |
| 34 | <Input /> |
| 35 | <FormFeedback tooltip>You will not be able to see this</FormFeedback> |
| 36 | <FormText>Example help text that remains unchanged.</FormText> |
| 37 | </FormGroup> |
| 38 | <FormGroup className="position-relative"> |
| 39 | <Label for="exampleEmail">Valid input</Label> |
| 40 | <Input valid /> |
| 41 | <FormFeedback valid tooltip> |
| 42 | Sweet! that name is available |
| 43 | </FormFeedback> |
| 44 | <FormText>Example help text that remains unchanged.</FormText> |
| 45 | </FormGroup> |
| 46 | <FormGroup className="position-relative"> |
| 47 | <Label for="examplePassword">Invalid input</Label> |
| 48 | <Input invalid /> |
| 49 | <FormFeedback tooltip>Oh noes! that name is already taken</FormFeedback> |
| 50 | <FormText>Example help text that remains unchanged.</FormText> |
| 51 | </FormGroup> |
| 52 | </Form> |
| 53 | ); |
| 54 | } |
| 55 | |
| 56 | export default Example; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…