@ozen-ui/kit
Version:
React component library
10 lines (9 loc) • 419 B
TypeScript
import React from 'react';
import type { FormElementSizeVariant } from '../../types/FormElementSizeVariant';
export interface CheckboxGroupContextValue {
name: string | undefined;
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
value?: (string | number)[];
size?: FormElementSizeVariant;
}
export declare const CheckboxGroupContext: React.Context<CheckboxGroupContextValue | undefined>;