UNPKG

@j2inn/app-react

Version:

React implementation of the j2inn-app framework

15 lines (14 loc) 450 B
import React from 'react'; /** * Remote UI component properties. */ export interface RemoteComponentProps extends Record<string, unknown> { scope: string; module: string; children?: React.ReactNode; } /** * Renders a remote UI component. This should be used in conjunction with * the `RemoteScript` component. */ export declare const RemoteComponent: ({ scope, module, ...props }: RemoteComponentProps) => JSX.Element;