import React from 'react'; import { IState } from '@mjcloud/redux'; import { InstanceBase } from '@mjcloud/instance'; export interface IControlBaseProps { /** * 控件Id */ id: string; /** * 当前控件的父级控件Id * * 若`parentId == pageKey`即父级控件为页面,反之则表示父级控件为容器控件 */ parentId: string; workbenchId?: string; /** * 当前控件所在页面的pageKey */ pageKey: string; } /** * 控件基类 * @description 控件通过类组件的形态创建 */ export default abstract class ControlBase extends React.Component { instance: I; constructor(props: P); componentWillUnmount(): void; shouldComponentUpdate(nextProps: Readonly

, nextState: Readonly): boolean; private handStateChange; renderContent(): React.ReactNode | null; render(): React.ReactNode; }