innertuber-rn
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
12 lines • 382 B
JavaScript
import { YTNode } from '../helpers.js';
import Text from './misc/Text.js';
class DynamicTextView extends YTNode {
constructor(data) {
super();
this.text = Text.fromAttributed(data.text);
this.max_lines = parseInt(data.maxLines);
}
}
DynamicTextView.type = 'DynamicTextView';
export default DynamicTextView;
//# sourceMappingURL=DynamicTextView.js.map