UNPKG

351 BTypeScriptView Raw
1/**
2 * Renders a given string and returns both html and css needed for the html.
3 * @param onRender - Function that returns a string.
4 * @param namespace - Optional namespace to prepend to css classnames to avoid collisions.
5 */
6export declare function renderStatic(onRender: () => string, namespace?: string): {
7 html: string;
8 css: string;
9};