@kelvininc/ui-components
Version:
Kelvin UI Components
17 lines (16 loc) • 656 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
import { EComponentSize } from '../../types';
export interface IRadio {
/** (optional) The label text for the radio. */
label?: string;
/** (optional) Sets this component item to a different styling configuration */
size?: EComponentSize;
/** (optional) If `true` the radio is with checked state. Default: false */
checked?: boolean;
/** (optional) If `true` the radio is with disabled state. Default: false */
disabled?: boolean;
}
export interface IRadioEvents {
/** Emitted when the radio checked state changes */
checkedChange: EventEmitter<Event>;
}