npx gluestack-ui add form-controlimport { FormControl } from '@/components/ui/form-control';


export default () => (
<FormControl>
<FormControlLabel>
<FormControlLabelText />
</FormControlLabel>
<FormControlHelper>
<FormControlHelperText />
</FormControlHelper>
<FormControlError>
<FormControlErrorIcon />
<FormControlErrorText />
</FormControlError>
</FormControl>
);
| Prop | Type | Default | Description |
|---|---|---|---|
isInvalid | boolean | false | When true, invalid state. |
isRequired | boolean | false | If true, astrick gets activated. |
isDisabled | boolean | false | Disabled state true. |
isReadOnly | boolean | false | To manually set read-only state. |