mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
14 lines
321 B
JavaScript
14 lines
321 B
JavaScript
import Text from './misc/Text';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class ThumbnailOverlaySidePanel extends YTNode {
|
|
static type = 'ThumbnailOverlaySidePanel';
|
|
|
|
constructor(data) {
|
|
super();
|
|
this.text = new Text(data.text);
|
|
this.type = data.icon.iconType;
|
|
}
|
|
}
|
|
|
|
export default ThumbnailOverlaySidePanel; |