innertuber-rn
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
14 lines • 486 B
JavaScript
import { YTNode } from '../helpers.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Text from './misc/Text.js';
class SubFeedOption extends YTNode {
constructor(data) {
super();
this.name = new Text(data.name);
this.is_selected = data.isSelected;
this.endpoint = new NavigationEndpoint(data.navigationEndpoint);
}
}
SubFeedOption.type = 'SubFeedOption';
export default SubFeedOption;
//# sourceMappingURL=SubFeedOption.js.map