UNPKG

remote-components

Version:

Compose remote components at runtime between microfrontends applications.

29 lines (26 loc) 707 B
import * as react from 'react'; import { R as RemoteComponentMetadata } from './types-280a3640.js'; interface RemoteComponentProps { url: string; name: string; bundle: string; route?: string; runtime?: RemoteComponentMetadata['runtime']; data: string[]; nextData?: { props: { pageProps: Record<string, unknown>; }; buildId?: string; } | null; scripts?: { src: string; }[]; links?: Record<string, string | boolean | undefined>[]; remoteShared?: Record<string, string>; isolate?: boolean; mode?: 'open' | 'closed'; reset?: boolean; children: react.ReactNode; } export { RemoteComponentProps as R };