export interface IPageList { key: string; index: number; active?: boolean; componentList?: IComponentList[]; } export interface IComponentList { key: number | string; layerIndex: string; elementIndex: number; type?: string; title?: string; icon?: string; selected?: boolean; ratio?: boolean; isShow?: boolean; isLock?: boolean; menuVisible?: boolean; boxMenuVisible?: boolean; elementInfo: IElement; status?: string; children?: IComponentList[]; } export interface IElement { width: number; height: number; x: number; y: number; chartType: string; element: React.ReactNode; keepRatio: boolean; key: number | string; } export interface IPageMenu { key: string; disabled?: boolean; label?: string; }