@pixi/react
Version:
Write PixiJS applications using React declarative style.
12 lines (11 loc) • 380 B
TypeScript
import { type Container } from 'pixi.js';
import { type Fiber } from 'react-reconciler';
import { type ApplicationState } from './ApplicationState';
import { type InternalState } from './InternalState';
export interface Root {
fiber: Fiber;
root?: Container;
render: (...args: any[]) => any;
applicationState: ApplicationState;
internalState: InternalState;
}