@difizen/mana-core
Version:
16 lines • 684 B
TypeScript
import { Application } from '../application';
import type { ManaContext } from '../module';
import type { ContextProps } from './context';
import './index.less';
export interface ApplicationProps extends ContextProps {
onInitialized?: (ctx: ManaContext, app: Application) => void;
onWillStart?: (ctx: ManaContext, app: Application) => void;
onReady?: (ctx: ManaContext, app: Application) => void;
/**
* 使用路由模式时需要开启
*/
renderChildren?: boolean;
renderAfterReady?: boolean;
}
export declare const ApplicationComponent: (props: ApplicationProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=application.d.ts.map