UNPKG

react-hook-form-mantine

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