mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
15 lines
281 B
JavaScript
15 lines
281 B
JavaScript
'use strict';
|
|
|
|
const Text = require('./Text');
|
|
|
|
class CallToActionButton {
|
|
type = 'CallToActionButton';
|
|
|
|
constructor(data) {
|
|
this.label = new Text(data.label);
|
|
this.icon_type = data.icon.iconType;
|
|
this.style = data.style;
|
|
}
|
|
}
|
|
|
|
module.exports = CallToActionButton; |