UNPKG

@0xsplits/splits-kit

Version:

UI Components for working with 0xSplits contracts

10 lines (9 loc) 450 B
/// <reference types="react" /> 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;