innertuber-rn
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
14 lines • 480 B
JavaScript
import { Parser } from '../index.js';
import Text from './misc/Text.js';
import { YTNode } from '../helpers.js';
import SubFeedOption from './SubFeedOption.js';
class SubFeedSelector extends YTNode {
constructor(data) {
super();
this.title = new Text(data.title);
this.options = Parser.parseArray(data.options, SubFeedOption);
}
}
SubFeedSelector.type = 'SubFeedSelector';
export default SubFeedSelector;
//# sourceMappingURL=SubFeedSelector.js.map