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