import React from 'react'; import { FC } from 'react' import { useController } from 'react-hook-form'; import { Text, TextInput, View } from 'react-native'; interface Props { name: string, label: string, control: any } export const Input:FC = ({name,label, control}) => { const { field } = useController({ control, defaultValue:'', name, }) return ( <> ) }