UNPKG

@react-three/p2

Version:

2D physics based hooks for react-three-fiber

11 lines (10 loc) 378 B
import type { FC } from 'react'; import type { PropsWithChildren } from 'react'; import type { CannonWorkerProps } from './cannon-worker-api'; export declare type ProviderProps = PropsWithChildren<CannonWorkerProps & { isPaused?: boolean; maxSubSteps?: number; shouldInvalidate?: boolean; stepSize?: number; }>; export declare const Provider: FC<ProviderProps>;