@fishx/module-renderer
Version:
Support render Fish, Fishx module
17 lines (16 loc) • 597 B
TypeScript
import React from "../../node_modules/@types/react";
import type { MicroApp, FrameworkConfiguration } from "../../node_modules/qiankun";
interface QiankunAppRendererProps {
url: string;
id: string;
appProps?: {
[key: string]: any;
};
fallback?: React.ReactNode | string;
loadingContent?: React.ReactNode | string;
configuration?: FrameworkConfiguration;
onLoaded?: (microApp: MicroApp) => void;
onError?: (error: any) => void;
}
declare const QiankunAppRenderer: (props: QiankunAppRendererProps) => React.JSX.Element;
export default QiankunAppRenderer;