UNPKG

react-hook-form-mantine

Version:
5 lines (4 loc) 497 B
import { type CheckboxGroupProps as $CheckboxGroupProps } from "@mantine/core"; import { type FieldValues, type UseControllerProps } from "react-hook-form"; export type CheckboxGroupProps<T extends FieldValues> = UseControllerProps<T> & Omit<$CheckboxGroupProps, "checked" | "defaultValue">; export declare const CheckboxGroup: <T extends FieldValues>({ name, control, defaultValue, rules, shouldUnregister, onChange, ...props }: CheckboxGroupProps<T>) => import("react/jsx-runtime").JSX.Element;