mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 03:59:38 +00:00
17 lines
424 B
TypeScript
17 lines
424 B
TypeScript
import { YTNode } from '../helpers.ts';
|
|
import type { RawNode } from '../index.ts';
|
|
import Text from './misc/Text.ts';
|
|
|
|
export default class DismissableDialogContentSection extends YTNode {
|
|
static type = 'DismissableDialogContentSection';
|
|
|
|
public title: Text;
|
|
public subtitle: Text;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.title = new Text(data.title);
|
|
this.subtitle = new Text(data.subtitle);
|
|
}
|
|
}
|