reablocks
Version:
Component library for React
12 lines (11 loc) • 345 B
TypeScript
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>;