UNPKG

@ozen-ui/kit

Version:

React component library

14 lines (13 loc) 567 B
import type React from 'react'; import type { RadioAlignVariant, RadioSizeVariant, RadioVariant } from '../RadioNext'; export type RadioGroupContextValue = { name: string | undefined; onChange: (event: React.ChangeEvent<HTMLInputElement>) => void; value?: string; size?: RadioSizeVariant; variant?: RadioVariant; align?: RadioAlignVariant; mirrored?: boolean; }; export declare const RadioGroupContext: React.Context<RadioGroupContextValue | undefined>; export declare const useRadioGroupContext: () => RadioGroupContextValue | undefined;