UNPKG

@14islands/r3f-scroll-rig

Version:

Progressively enhance any React website with WebGL using @react-three/fiber

17 lines (16 loc) 573 B
import { ReactNode } from 'react'; import { Props } from '@react-three/fiber'; interface IGlobalCanvas extends Omit<Props, 'children'> { children?: ReactNode | ((globalChildren: ReactNode) => ReactNode); as?: any; orthographic?: boolean; onError?: (props: any) => void; camera?: any; debug?: boolean; scaleMultiplier?: number; globalRender?: boolean; globalPriority?: number; globalClearDepth?: boolean; } export declare const GlobalCanvas: ({ children, onError, ...props }: IGlobalCanvas) => JSX.Element; export {};