innertuber-rn
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
15 lines • 539 B
JavaScript
import { YTNode } from '../helpers.js';
class EmojiPickerCategoryButton extends YTNode {
constructor(data) {
var _a;
super();
this.category_id = data.categoryId;
if (Reflect.has(data, 'icon')) {
this.icon_type = (_a = data.icon) === null || _a === void 0 ? void 0 : _a.iconType;
}
this.tooltip = data.tooltip;
}
}
EmojiPickerCategoryButton.type = 'EmojiPickerCategoryButton';
export default EmojiPickerCategoryButton;
//# sourceMappingURL=EmojiPickerCategoryButton.js.map