@j2inn/app-react
Version:
React implementation of the j2inn-app framework
22 lines (21 loc) • 738 B
TypeScript
import { AppProps } from '@j2inn/app';
import { PropsWithChildren } from 'react';
/**
* A remote web component that has all available properties passed to it.
*/
export declare const RemoteWebComponent: (({ name, loaderPath, podName, dimensions, ...props }: {
name: string;
podName: string;
loaderPath?: string | undefined;
} & AppProps) => JSX.Element) & {
displayName: string;
};
/**
* A wrapper component to ensure that finUiWebComponentLoader if defined is loaded before loading a web component.
*/
export declare const RemoteWebComponentLoader: (({ podName, loaderPath, children, }: PropsWithChildren<{
podName: string;
loaderPath?: string | undefined;
}>) => JSX.Element) & {
displayName: string;
};