UNPKG

@trellixio/roaster-coffee

Version:
16 lines 701 B
/// <reference types="react" /> interface RadioGroupContextValue { /** The value of the currently selected radio input field. */ value: string; /** * A function that is called when the value of the radio input field changes. * This function accepts a React `ChangeEvent` object as input. */ onChange(event: React.ChangeEvent<HTMLInputElement>): void; /** The name attribute of the radio input fields in the radio group. */ name: string; } export declare const RadioGroupProvider: import("react").Provider<RadioGroupContextValue>; export declare const useRadioGroupContext: () => RadioGroupContextValue; export {}; //# sourceMappingURL=RadioGroup.context.d.ts.map