@dcl/react-ecs
Version:
Decentraland ECS
7 lines (6 loc) • 401 B
TypeScript
import { Entity, IEngine, PointerEventsSystem } from '@dcl/ecs';
import { ReactEcs } from '../react-ecs';
export declare function createReconciler(engine: Pick<IEngine, 'getComponent' | 'addEntity' | 'removeEntity' | 'defineComponentFromSchema' | 'getEntitiesWith'>, pointerEvents: PointerEventsSystem): {
update: (component: ReactEcs.JSX.ReactNode) => number;
getEntities: () => Entity[];
};