innertuber-rn
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
12 lines • 378 B
JavaScript
import Text from './misc/Text.js';
import { YTNode } from '../helpers.js';
class MetadataRow extends YTNode {
constructor(data) {
super();
this.title = new Text(data.title);
this.contents = data.contents.map((content) => new Text(content));
}
}
MetadataRow.type = 'MetadataRow';
export default MetadataRow;
//# sourceMappingURL=MetadataRow.js.map