UNPKG

react-hook-form-mantine

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