import { Structure } from '../Structure'; import { Style } from '../Style'; import { Component } from './index'; import { Panel } from '../../../sketch-dsl/src'; /** * 基础组件 */ export interface BaseComponent { id?: string; componentName?: string; name?: string; structure?: Structure; style?: Style; children?: Component[]; value?: string; src?: string; panel?: Panel; symbolName?: string; symbolComponentObject?: { url: string; code_name: string; code_lib_name: string; component_type?: string; }; haikuiComponentInfo?: { comId: string; comType: string; groupId: string; }; groupBreadcrumb?: { id: string; name: string; }[]; rotation?: number; zIndex?: number; hasClippingMask?: boolean; parentId?: string; _class?: string; }