To use the library, first create an instance of your form components using the createInstance method. You only need to do this once for your entire application. The instance will be configured with the custom components you define.
Register Custom Field Components
Creating Custom Field Components
To register a custom field component, ensure that it meets the following criteria:
Must have a value prop.
Must have an onChange prop defined as follows:
An optional error prop may be included. If defined, it must adhere to this structure: