Adds styles for multiple form elements used together.
Use FormControl instead.
<><FormGroup><FormGroup.Label htmlFor="example-text">Example text</FormGroup.Label><TextInput id="example-text" value="Example Value" /></FormGroup><FormGroup><FormGroup.Label htmlFor="example-text-b">Example text</FormGroup.Label><TextInput id="example-text-b" value="Example Value" /></FormGroup></>
| Name | Type | Default | Description |
|---|---|---|---|
| as | String | div | Sets the HTML tag for the component |
| sx | SystemStyleObject | {} | Style to be applied to the component |
| Name | Type | Default | Description |
|---|---|---|---|
| as | String | label | Sets the HTML tag for the component |
| htmlFor | String | The value of htmlFor needs to be the same as the id of the input it labels | |
| sx | SystemStyleObject | {} | Style to be applied to the component |