pixi-reactive
Version:
A library to help integrate PIXI into a React project
13 lines (12 loc) • 451 B
TypeScript
import { PropValue } from './GenericTypes';
declare type Callback = (...args: any[]) => void;
export declare type PixiPropsValue = PropValue | Callback;
export declare type PixiProps = {
[k in string]?: PixiPropsValue;
};
export declare type PixiPropUpdates = Map<string, PixiPropsValue>;
export declare type PropsContextType<T extends PixiProps> = {
properties: T;
updateProperties: (props: Partial<T>) => void;
};
export {};