react-hook-form-mantine
Version:
React hook form wrapper for Mantine components
5 lines (4 loc) • 482 B
TypeScript
import { type UseControllerProps, type FieldValues } from "react-hook-form";
import { type 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-runtime").JSX.Element;