UNPKG

innertuber-rn

Version:

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

16 lines 681 B
import Text from './misc/Text.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import { YTNode } from '../helpers.js'; class SingleActionEmergencySupport extends YTNode { constructor(data) { super(); this.action_text = new Text(data.actionText); this.nav_text = new Text(data.navigationText); this.details = new Text(data.detailsText); this.icon_type = data.icon.iconType; this.endpoint = new NavigationEndpoint(data.navigationEndpoint); } } SingleActionEmergencySupport.type = 'SingleActionEmergencySupport'; export default SingleActionEmergencySupport; //# sourceMappingURL=SingleActionEmergencySupport.js.map