UNPKG

@brusalk/react-wow-addon

Version:

React-style UI Framework for World of Warcraft AddOns

12 lines (11 loc) 518 B
import { Component } from './component'; import { InternalElement } from './element'; export interface Instance { publicInstance?: Component; childInstance: Instance | null; childInstances: Array<Instance | null>; hostFrame: WoWAPI.Region; element: InternalElement; } export declare function render(element: InternalElement, container: WoWAPI.Region): void; export declare function reconcile(parentFrame: WoWAPI.Region, instance: Instance | null, element: InternalElement | null): Instance | null;