next
Version:
The React Framework
10 lines (9 loc) • 389 B
TypeScript
import React from 'react';
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<[any, React.ReactNode, React.ReactNode]>;