UNPKG

@hypothesis/frontend-shared

Version:

Shared components, styles and utilities for Hypothesis projects

8 lines (7 loc) 279 B
export type RadioGroupContextType<T = unknown> = { selected: T | undefined; disabled?: boolean; onChange: (newSelected: T) => void; }; declare const RadioGroupContext: import("preact").Context<RadioGroupContextType<unknown> | null>; export default RadioGroupContext;