UNPKG

@xui/components

Version:

xUI Components for Angular

13 lines (12 loc) 515 B
import { InjectionToken, Signal, WritableSignal } from '@angular/core'; export type RadioListValue = string | number | null; export type RadioListSize = 'sm' | 'md'; export type RadioListColor = 'light' | 'dark'; export declare const RADIO_LIST_ACCESSOR: InjectionToken<RadioListAccessor>; export interface RadioListAccessor { color: Signal<RadioListColor>; size: Signal<RadioListSize>; value: WritableSignal<RadioListValue>; _focusedValue: Signal<RadioListValue>; _disabled: Signal<boolean>; }