UNPKG

innertuber-rn

Version:

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

16 lines 614 B
import { YTNode } from '../helpers.js'; import { Parser } from '../index.js'; import Button from './Button.js'; import ChipCloudChip from './ChipCloudChip.js'; class ChipCloud extends YTNode { constructor(data) { super(); this.chips = Parser.parseArray(data.chips, ChipCloudChip); this.next_button = Parser.parseItem(data.nextButton, Button); this.previous_button = Parser.parseItem(data.previousButton, Button); this.horizontal_scrollable = data.horizontalScrollable; } } ChipCloud.type = 'ChipCloud'; export default ChipCloud; //# sourceMappingURL=ChipCloud.js.map