inferno-server
Version:
Provides methods to render HTML strings from Inferno elements
9 lines (8 loc) • 562 B
TypeScript
import { type InfernoNode, type VNode } from 'inferno';
export declare function escapeText(text: string): string;
export declare function getCssPropertyName(str: any): string;
export declare const VALID_ATTRIBUTE_NAME_REGEX: RegExp;
export declare function isAttributeNameSafe(attributeName: string): boolean;
export declare const voidElements: Set<string>;
export declare function createDerivedState(instance: any, nextProps: any, state: any): Record<string, unknown>;
export declare function renderFunctionalComponent(vNode: VNode, context: any): InfernoNode;