nexora
Version:
A lightweight, production-ready JavaScript library for building user interfaces, supporting JSX.
9 lines (8 loc) • 364 B
TypeScript
import { DOMNode, VNode } from '../../../core';
/**
* Find the DOM node for a VNode
* @description - This function is used to find the DOM node for a VNode.
* @param vnode - The VNode to find the DOM node for
* @returns The DOM node for the VNode or null if the VNode does not have a DOM node
*/
export declare function findDom(vnode: VNode): DOMNode | null;