UNPKG

intentful

Version:

Create Custom Skills with less headache

22 lines (21 loc) 742 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AlexaCheckbox = void 0; const component_1 = require("../../component"); class AlexaCheckbox extends component_1.APLComponent { constructor(props) { super('AlexaCheckbox', props); } componentSpecificModel() { return { checkboxHeight: this.props.checkboxHeight, checkboxWidth: this.props.checkboxWidth, primaryAction: this.props.primaryAction, selectedColor: this.props.selectedColor }; } componentSpecificRequestHandlers() { return this.props.primaryAction ? this.props.primaryAction.getRequestHandlers() : []; } } exports.AlexaCheckbox = AlexaCheckbox;