mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-14 18:12:10 +00:00
15 lines
290 B
TypeScript
15 lines
290 B
TypeScript
import Parser from '..';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class CarouselHeader extends YTNode {
|
|
static type = 'CarouselHeader';
|
|
|
|
contents: YTNode[];
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.contents = Parser.parseArray(data.contents);
|
|
}
|
|
}
|
|
|
|
export default CarouselHeader; |