fix: search continuations not being parsed correctly (#173)

* feat: add `TitleAndButtonListHeader`

* fix: continuations not being parsed correctly

* chore: add a test

* chore(package): bump version to 2.0.2

* chore: lint
This commit is contained in:
LuanRT
2022-09-08 21:31:07 -03:00
committed by GitHub
parent 4b29ad74de
commit c9856a8359
6 changed files with 45 additions and 14 deletions

View File

@@ -0,0 +1,15 @@
import Text from './misc/Text';
import { YTNode } from '../helpers';
class TitleAndButtonListHeader extends YTNode {
static type = 'TitleAndButtonListHeader';
title: Text;
constructor(data: any) {
super();
this.title = new Text(data.title);
}
}
export default TitleAndButtonListHeader;