Interface: ILoadModuleOptions
Defined in: src/types/runtime.ts:198
Options for loading a module-federated miniapp component (e.g., ToolbarIcon, Sidebar) without going through the full miniapp lifecycle.
Properties
containerConfig?
optionalcontainerConfig?:IContainerConfig
Defined in: src/types/runtime.ts:210
Optional container config override — when omitted, runtime's containerConfig is used
containerId
containerId:
string
Defined in: src/types/runtime.ts:204
DOM container ID passed through to the container config
miniapp
miniapp:
IMiniapp
Defined in: src/types/runtime.ts:200
The miniapp whose module to load
moduleName
moduleName:
ExposedModuleNames
Defined in: src/types/runtime.ts:202
Which exposed module to load from the miniapp's module federation manifest
moduleProps
moduleProps:
unknown
Defined in: src/types/runtime.ts:206
Props forwarded to the loaded module component
sid
sid:
string
Defined in: src/types/runtime.ts:208
Session ID to associate with this module load