/* * @Author: your name * @Date: 2022-04-11 15:28:14 * @Description: * @FilePath: /zl-large-screen/src/type/largeScreenLayer.ts */ export interface ILargeScreen3DListProps { content?: IContent[]; contextMenus?:IContextMenus[]; layerListEvent?:Function; } export interface ILargeScreen3DListState { content?: IContent[]; contextMenus?:IContextMenus[]; layerListEvent?:Function; } export interface IContent { key: string | number; layerIndex: string; elementIndex: number; type?: string; title?: string; icon?: string; status?: string; selected?: boolean; statusIcon?: string; autofocus?: boolean | undefined; value?: string | undefined; children?: IContent[]; elementInfo?: IElement; [key: string]: string | number | boolean | object|any; } export interface IElement { width: number; height: number; x: number; y: number; chartType: string; element: React.ReactNode; // keepRatio:boolean } export interface IContextMenus { label: string | React.ReactNode; key: string | number; icon?: string; type?: string; disabled?:string[]|string; hidden?:string[]|string; children?:IContextMenus[]; visible?:boolean }