UNPKG

pixi-fusion

Version:

This module offers a set of common components needed for playing games.

9 lines (8 loc) 416 B
import React, { PropsWithChildren } from "react"; import { MatterPhysicsConfig, MatterPhysics } from "./types"; export type MatterPhysicsContextProviderOptions = { isRunning?: boolean; config: MatterPhysicsConfig; }; export declare const MatterPhysicsContext: React.Context<MatterPhysics>; export declare const MatterPhysicsContextProvider: React.FC<PropsWithChildren & MatterPhysicsContextProviderOptions>;