@antoniojps/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube.
17 lines • 541 B
JavaScript
import { YTNode } from '../helpers.js';
import { Parser } from '../index.js';
import Button from './Button.js';
import Text from './misc/Text.js';
export default class ModalWithTitleAndButton extends YTNode {
static type = 'ModalWithTitleAndButton';
title;
content;
button;
constructor(data) {
super();
this.title = new Text(data.title);
this.content = new Text(data.content);
this.button = Parser.parseItem(data.button, Button);
}
}
//# sourceMappingURL=ModalWithTitleAndButton.js.map