UNPKG

react-hook-form-mantine

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