import { EventEmitter } from '../../stencil-public-runtime'; import { EComponentSize, IToggleButton } from '../../types'; export interface IToggleButtonGroup { /** (optional) List of toggle buttons */ buttons: IToggleButton[]; /** (optional) If `true` all toggle buttons will have a radio button */ withRadio?: boolean; /** (optional) Sets styling to be disabled and disables click events for all buttons */ disabled?: boolean; /** (optional) A record with the button's label/value and with if the selected value */ selectedButtons?: Record; /** (optional) A record with the button's label/value and the if the respective button is disabled */ disabledButtons?: Record; /** (optional) A record with the button's label/value and the if the respective button is a radio button */ radioButtons?: Record; /** (optional) Sets the size for all toggle buttons */ size?: EComponentSize; } export interface IToggleButtonGroupEvents { /** When the toggle button selection changes, emit the requested tab's key */ checkedChange: EventEmitter; }