intentful
Version:
Create Custom Skills with less headache
23 lines (22 loc) • 1.14 kB
TypeScript
import { LabeledRequestHandler } from '../../../../skill/models';
import { Calculable } from '../../../../types';
import { Command, CommandModel, CommandProps } from '../../../commands';
import { Color, Dimension } from '../../../interfaces';
import { APLBaseComponentModel, APLBaseComponentProps, APLComponent } from '../../component';
export interface AlexaRadioButtonModel extends APLBaseComponentModel {
primaryAction: Command<CommandModel, CommandProps>;
radioButtonColor?: Calculable<Color>;
radioButtonHeight?: Calculable<Dimension>;
radioButtonWidth?: Calculable<Dimension>;
}
export interface AlexaRadioButtonProps extends APLBaseComponentProps {
primaryAction: Command<CommandModel, CommandProps>;
radioButtonColor?: Calculable<Color>;
radioButtonHeight?: Calculable<Dimension>;
radioButtonWidth?: Calculable<Dimension>;
}
export declare class AlexaRadioButton extends APLComponent<AlexaRadioButtonModel, AlexaRadioButtonProps> {
constructor(props: AlexaRadioButtonProps);
componentSpecificModel(): AlexaRadioButtonModel;
componentSpecificRequestHandlers(): LabeledRequestHandler[];
}