UNPKG

react-hook-form-mantine

Version:
5 lines (4 loc) 488 B
import { type FieldValues, type UseControllerProps } from "react-hook-form"; import { type AutocompleteProps as $AutocompleteProps } from "@mantine/core"; export type AutocompleteProps<T extends FieldValues> = UseControllerProps<T> & Omit<$AutocompleteProps, "value" | "defaultValue">; export declare function Autocomplete<T extends FieldValues>({ name, control, defaultValue, rules, shouldUnregister, onChange, ...props }: AutocompleteProps<T>): import("react/jsx-runtime").JSX.Element;