frontend-hamroun
Version:
A lightweight frontend JavaScript framework with React-like syntax
14 lines • 373 B
TypeScript
/**
* Result of component rendering
*/
export interface RenderResult {
html: string;
success: boolean;
error?: Error;
}
/**
* Renders a component to an HTML string with error handling
*/
export declare function renderComponent(Component: any, props?: any): Promise<RenderResult>;
export default renderComponent;
//# sourceMappingURL=renderComponent.d.ts.map