feat(parser): Add PageHeader (#450)

This commit is contained in:
absidue
2023-07-20 00:00:26 +02:00
committed by GitHub
parent 30ff087587
commit 18cbc8c038
6 changed files with 69 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
import { YTNode } from '../helpers.js';
import type { RawNode } from '../index.js';
export default class DynamicTextView extends YTNode {
static type = 'DynamicTextView';
text: string;
constructor(data: RawNode) {
super();
this.text = data.text.content;
}
}