UNPKG

react-hook-form-mantine

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