UNPKG

mantine-entity

Version:

A library combining Mantine, TanStack Query, and Mantine React Table for efficient entity management

22 lines (21 loc) 771 B
import React from "react"; import { FieldValues, UseControllerProps } from "react-hook-form"; interface CheckboxOption { value: string; label: string; description?: string; disabled?: boolean; } interface CheckboxGroupProps extends Omit<UseControllerProps<FieldValues>, "defaultValue" | "rules"> { data: CheckboxOption[]; label?: string; description?: string; error?: string; required?: boolean; orientation?: "horizontal" | "vertical"; inputWrapperOrder?: ("label" | "description" | "input" | "error")[]; withAsterisk?: boolean; defaultValue?: string[]; } declare const CheckboxGroupInput: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLInputElement>>; export default CheckboxGroupInput;