UNPKG

nexora

Version:

A lightweight, production-ready JavaScript library for building user interfaces, supporting JSX.

10 lines (9 loc) 389 B
import { DOMElement, Props } from '../../../core'; /** * Update props on a DOM element * @description - This function is used to update the props on a DOM element. * @param dom - The DOM element to update the props on * @param oldProps - The old props * @param newProps - The new props */ export declare function updateProps(dom: DOMElement, oldProps: Props, newProps: Props): void;