UNPKG

react-hook-form-mantine

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