UNPKG

react-hook-form-mantine

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