React and TypeScript

Controller

Adapts a controlled field to the form control contract.

Formal Syntax & Structure

react syntaxreact
<Controller name="delivery" control={control} render={renderField}/>

Working Example

Example Snippetreact
<Controller name="delivery" control={control} render={renderField}/>
React Reference