mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 19:42:14 +00:00
14 lines
309 B
TypeScript
14 lines
309 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import { Text } from '../misc.js';
|
|
import type { RawNode } from '../index.js';
|
|
|
|
export default class MenuTitle extends YTNode {
|
|
static type = 'MenuTitle';
|
|
|
|
public title: Text;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.title = new Text(data.title);
|
|
}
|
|
} |