intentful
Version:
Create Custom Skills with less headache
30 lines (29 loc) • 955 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.APLText = void 0;
const component_1 = require("../component");
class APLText extends component_1.APLComponent {
constructor(props) {
super('Text', props);
}
componentSpecificModel() {
return {
text: this.props.text,
textAlign: this.props.textAlign,
textAlignVertical: this.props.textAlignVertical,
color: this.props.color,
fontStyle: this.props.fontStyle,
fontFamily: this.props.fontFamily,
maxLines: this.props.maxLines,
fontSize: this.props.fontSize,
fontWeight: this.props.fontWeight,
lang: this.props.lang,
letterSpacing: this.props.letterSpacing,
lineHeight: this.props.lineHeight
};
}
componentSpecificRequestHandlers() {
return [];
}
}
exports.APLText = APLText;