Input: { Options: < TFieldValues extends FieldValues, TOption extends ItemWithId & { name: string }, >( props: ViewProps & Omit<FormFieldProps<TFieldValues>, "render"> & { handleClose: VoidFunction; handleSearch?: (text: string) => void; hideSearch?: boolean; onSelectOption: (option: TOption) => void; options: (
ItemWithId & TOption)
[]; selectedOptions?: TOption[]; showOnlySelectedOptions?: boolean; title: string; } & { selectedOptions?: TOption[] }, ) => Element; Text: ForwardRefExoticComponent< TextInputProps & Omit<FormFieldProps<FieldValues>, "render"> & RefAttributes< TextInput, >, >;} = ... Type declaration
Options: <
TFieldValues extends FieldValues,
TOption extends ItemWithId & { name: string },
>(
props: ViewProps & Omit<FormFieldProps<TFieldValues>, "render"> & {
handleClose: VoidFunction;
handleSearch?: (text: string) => void;
hideSearch?: boolean;
onSelectOption: (option: TOption) => void;
options: (ItemWithId & TOption)[];
selectedOptions?: TOption[];
showOnlySelectedOptions?: boolean;
title: string;
} & { selectedOptions?: TOption[] },
) => Element
Text: ForwardRefExoticComponent<
TextInputProps & Omit<FormFieldProps<FieldValues>, "render"> & RefAttributes<
TextInput,
>,
>