@chamn/engine 0.0.16 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -16,9 +16,13 @@ export type EngineProps = {
16
16
  beforePluginRun?: (options: {
17
17
  pluginManager: PluginManager;
18
18
  }) => void;
19
+ /** 所有的加插件加载完成 */
19
20
  onReady?: (ctx: EnginContext) => void;
21
+ onMount?: (ctx: EnginContext) => void;
20
22
  /** 渲染器 umd 格式 js 地址, 默认 ./render.umd.js */
21
23
  renderJSUrl?: string;
24
+ style?: React.CSSProperties;
25
+ className?: string;
22
26
  };
23
27
  export declare class Engine extends React.Component<EngineProps> {
24
28
  static version: string;