UNPKG

react-hook-form-mantine

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