Use the form control's state for more advanced composition.
You can use getFormControl within the context of a Control component to access the state of the control and use it as you see fit.
Usage
Say we're building a custom component that contains both a custom input and label.
In this example, we're using getFormControl to get the attributes for the label and control elements. We then pass those attributes to our custom components.
We'd then use this within the context of a Control component like so:
API
The getFormControl function returns an object with the following types: