UNPKG

next

Version:

The React Framework

9 lines (8 loc) 383 B
import type { AppRenderContext } from './app-render'; export declare function createComponentStylesAndScripts({ filePath, getComponent, injectedCSS, injectedJS, ctx, }: { filePath: string; getComponent: () => any; injectedCSS: Set<string>; injectedJS: Set<string>; ctx: AppRenderContext; }): Promise<[React.ComponentType<any>, React.ReactNode, React.ReactNode]>;