remix-nlux
Version:
Remix IDE NLUX integration. Remix IDE is the leading IDE for building and deploying smart contracts on Ethereum. NLUX is a JavaScript and React library for building conversational AI experiences.
7 lines (6 loc) • 353 B
text/typescript
/**
* A function that updates a DOM element with new props.
* The function is used for updating DOM elements that were created by DomCreator functions.
* It should take into consideration the before and after props and update the DOM element accordingly.
*/
export type DomUpdater<T> = (element: HTMLElement, propsBefore: T, propsAfter: T) => void;