UNPKG

react-hook-form-mantine

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