UNPKG

react-hook-form-mantine

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