reablocks
Version:
Component library for React
13 lines (12 loc) • 377 B
TypeScript
/// <reference types="react" />
export interface RadioGroupContextProps {
/**
* Event handler for when the radio selection is changed.
*/
onChange: (value: any) => void;
/**
* Default value of the Radio Button which is checked
*/
selectedValue: any;
}
export declare const RadioGroupContext: import('react').Context<RadioGroupContextProps>;