UNPKG

react-hook-form-mantine

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