UNPKG

@pmndrs/uikit-horizon

Version:

Horizon kit for @pmndrs/uikit based on the Reality Labs Design System (RLDS)

17 lines (16 loc) 860 B
import { Container, InProperties, BaseOutProperties, RenderContext } from '@pmndrs/uikit'; export type RadioGroupOutProperties = { value?: string; onValueChange?: (value?: string) => void; defaultValue?: string; } & BaseOutProperties; export type RadioGroupProperties = InProperties<RadioGroupOutProperties>; export declare class RadioGroup extends Container<RadioGroupOutProperties> { readonly uncontrolledSignal: import("@preact/signals-core").Signal<string | undefined>; readonly currentSignal: import("@preact/signals-core").ReadonlySignal<string | undefined>; constructor(inputProperties?: RadioGroupProperties, initialClasses?: Array<InProperties<BaseOutProperties> | string>, config?: { renderContext?: RenderContext; defaultOverrides?: InProperties<RadioGroupOutProperties>; }); } export * from './item.js';