UNPKG

react-hook-form-mantine

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