pixi-reactive
Version:
A library to help integrate PIXI into a React project
15 lines (14 loc) • 399 B
TypeScript
import * as PIXI from 'pixi.js';
export declare type LoadResourceType = {
[K in string]: string;
};
export declare type TextureDataType = {
[K in string]: PIXI.Texture | string[];
};
export declare type ResourceDataType = {
[K in string]: PIXI.LoaderResource;
};
export declare type TextureContextType = {
textures: TextureDataType;
resources: ResourceDataType;
};