react-matter-js
Version:
React adapter for the Matter.js physics engine
5 lines (4 loc) • 331 B
TypeScript
import { PropsWithChildren, ComponentType } from 'react';
declare const valueMemo: <A>(component: ComponentType<A>) => import("react").MemoExoticComponent<ComponentType<A>>;
export default valueMemo;
export declare const valueCompare: <P>(prev: Readonly<PropsWithChildren<P>>, next: Readonly<PropsWithChildren<P>>) => boolean;