@trycourier/courier-react
Version:
The React components for the Courier web UI
9 lines (8 loc) • 349 B
TypeScript
import { ReactNode } from '../../../../node_modules/react';
/**
* Converts a React node to an HTMLElement.
* This function uses flushSync to ensure the DOM is updated synchronously.
* @param node - The React node to convert.
* @returns The converted HTMLElement.
*/
export declare function reactNodeToHTMLElement(node: ReactNode): HTMLElement;