videx-3d
Version:
React 3D component library designed for sub surface visualizations in the browser
13 lines (12 loc) • 336 B
TypeScript
export type DistanceContextProps = {
current: number;
};
/**
* A context for providing an object's distance to the camera. This will allow child
* components to use the `Distance` component.
*
* @see {@link Distance}
*
* @group Contexts
*/
export declare const DistanceContext: import('react').Context<DistanceContextProps>;