import { ComponentClass, FunctionComponent } from 'react'; import { IModelType } from './IModelType'; export interface IComponentOptions

{ model?: IModelType | IModelType[]; component: FunctionComponent

| ComponentClass

; } export interface IPageOptions { /** * @description 初始化加载:二开脚本、多语言、ui元数据、灵动菜单 * @default { script: true, language: true, ui: true, floatMenu: false } */ initLoad?: { script?: boolean; language?: boolean; ui?: boolean; floatMenu?: boolean; }; busType?: string; customFormType?: 'app' | 'pc'; systemFormType?: 'app' | 'pc'; injectSrc?: string | string[]; injectCss?: string | string[]; model?: IModelType | IModelType[]; component: ComponentClass; injectProps?: (state: any) => Promise; }