UNPKG

@np-dev/youtubei-js

Version:

A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).

13 lines 416 B
import Text from './misc/Text.js'; import { YTNode } from '../helpers.js'; class CallToActionButton extends YTNode { constructor(data) { super(); this.label = new Text(data.label); this.icon_type = data.icon.iconType; this.style = data.style; } } CallToActionButton.type = 'CallToActionButton'; export default CallToActionButton; //# sourceMappingURL=CallToActionButton.js.map