UNPKG

intentful

Version:

Create Custom Skills with less headache

23 lines (22 loc) 749 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AlexaIconButton = void 0; const component_1 = require("../../component"); class AlexaIconButton extends component_1.APLComponent { constructor(props) { super('AlexaIconButton', props); } componentSpecificModel() { return { buttonId: this.props.buttonId, buttonSize: this.props.buttonSize, buttonStyle: this.props.buttonStyle, primaryAction: this.props.primaryAction, vectorSource: this.props.vectorSource }; } componentSpecificRequestHandlers() { return this.props.primaryAction.getRequestHandlers(); } } exports.AlexaIconButton = AlexaIconButton;