import { CreateElement } from 'vue';
import { ReportPanelControlBase } from '../../../widgets/reportpanel-control-base';

export class AppReportPanelBase extends ReportPanelControlBase {
  render(h: CreateElement) {
    if (!this.controlIsLoaded || !this.controlInstance) {
      return null;
    }
    const { controlClassNames } = this.renderOptions;
    return <div class={{ ...controlClassNames }}>报表面板部件</div>;
  }
}
