UNPKG

xui

Version:

xUI Components for Angular

15 lines (14 loc) 513 B
import { InjectionToken } from '@angular/core'; import { Observable } from 'rxjs'; 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: RadioListColor; size: RadioListSize; value: RadioListValue; focusedValue?: RadioListValue; disabled: boolean; onChange$: Observable<unknown>; }