UNPKG

innertuber-rn

Version:

A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).

14 lines 561 B
import { Parser } from '../index.js'; import { YTNode } from '../helpers.js'; class RichGrid extends YTNode { constructor(data) { super(); // (Daniel Wykerd) XXX: we don't parse the masthead since it is usually an advertisement // (Daniel Wykerd) XXX: reflowOptions aren't parsed, I think its only used internally for layout this.header = Parser.parseItem(data.header); this.contents = Parser.parseArray(data.contents); } } RichGrid.type = 'RichGrid'; export default RichGrid; //# sourceMappingURL=RichGrid.js.map