-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Describe the solution you'd like
replace such lines:
import { useTypedController } from '@hookform/strictly-typed';
...
const TypedController = useTypedController<DealPlacementPositionValue>({ control });
...
<TypedController ... />
...
with
import { Controller } from 'react-hook-form';
...
<Controller contol={control} render={({field})} ... />
...
Additional context
We can create codemod for TypedController (from @hookform/strictly-typed
package). It was working very similar way as a new Controller.
TODO:
Handle new structure of render properties
Metadata
Metadata
Assignees
Labels
No labels