For using custom form control elements with Form.Group, it could be helpful to access the controlId from the FormGroupContext. However, the FormGroupContext or useFormGroupContext is not exported from paragon, so it's not available.
For example:
<Form.Group>
<Form.Label>my custom form control</Form.Label>
<CustomControl />
</Form.Group>
const CustomControl = (props) => {
const { controlId } = useFormGroupContext();
return <MyControl id={controlId} />;
};
It would be great for this to be exported to support this use case.
For using custom form control elements with Form.Group, it could be helpful to access the controlId from the FormGroupContext. However, the FormGroupContext or useFormGroupContext is not exported from paragon, so it's not available.
For example:
It would be great for this to be exported to support this use case.