UNPKG

@0xsplits/splits-kit

Version:

UI Components for working with 0xSplits contracts

9 lines (8 loc) 418 B
import { Control, UseFormSetValue, UseFormSetError, Path, FieldValues } from 'react-hook-form'; export declare const ControllerSelector: <FormType extends FieldValues>({ control, inputName, setValue, setError, supportsEns, }: { control: Control<FormType>; inputName: Path<FormType>; setValue: UseFormSetValue<FormType>; setError: UseFormSetError<FormType>; supportsEns: boolean; }) => JSX.Element;