UNPKG

spacesvr-websessions

Version:

A standardized reality for future of the 3D Web

15 lines (14 loc) 530 B
import { ReactNode } from "react"; import { Props as ContainerProps } from "@react-three/fiber/dist/declarations/src/web/Canvas"; export * from "./logic/environment"; export declare type EnvironmentProps = { name?: string; pauseMenu?: ReactNode; loadingScreen?: ReactNode; dev?: boolean; canvasProps?: Partial<ContainerProps>; }; declare type EnvironmentLayerProps = { children: ReactNode | ReactNode[]; } & EnvironmentProps; export declare function Environment(props: EnvironmentLayerProps): JSX.Element;