import React from 'react'; import { Control, Controller } from 'react-hook-form'; import { FormTextInput, IRCTextInputProps } from './FormTextInput'; interface IControlledFormTextInputProps extends Omit { control: Control; name: string; } export const ControlledFormTextInput = ({ control, name, ...props }: IControlledFormTextInputProps) => ( ( )} /> );