mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
20 lines
426 B
JavaScript
20 lines
426 B
JavaScript
import UI from '../ui/UI';
|
|
|
|
/**
|
|
* 所有组件基类
|
|
* @author tengge / https://github.com/tengge1
|
|
* @param {*} options
|
|
*/
|
|
function BaseComponent(options) {
|
|
UI.Control.call(this, options);
|
|
this.app = options.app
|
|
}
|
|
|
|
BaseComponent.prototype = Object.create(UI.Control.prototype);
|
|
BaseComponent.prototype.constructor = BaseComponent;
|
|
|
|
BaseComponent.prototype.render = function () {
|
|
|
|
};
|
|
|
|
export default BaseComponent; |