@kelvininc/ui-components
Version:
Kelvin UI Components
16 lines (15 loc) • 541 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
export interface ITimePickerSelectOption {
/** (required) The text to display on the item */
label: string;
/** (required) The item value */
value: string;
/** (optional) The description of the text displayed */
description?: string;
/** (optional) If `true` the item is selected */
selected?: boolean;
}
export interface ITimePickerSelectOptionEvents {
/** Emitted when the user clicks on the item */
itemSelected: EventEmitter<string>;
}