react-torch
Version:
A lib to server-side render with react.
8 lines (7 loc) • 361 B
TypeScript
/// <reference types="react" />
import type { IntegralTorchConfig, RenderContext } from '../../index';
export declare type Assets = {
index: string;
vendor: string;
} & Record<string, string>;
export default function createRender(config: IntegralTorchConfig): Promise<({ url, assets, scripts, styles, others, }: RenderContext) => Promise<JSX.Element>>;