UNPKG

react-hook-form-mantine

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