UNPKG

react-three-fiber

Version:

A React renderer for Three.js (web and react-native)

12 lines (11 loc) 493 B
import * as React from 'react'; import { ExpoWebGLRenderingContext } from 'expo-gl'; import { ViewStyle } from 'react-native'; import { CanvasProps } from '../../canvas'; interface NativeCanvasProps extends CanvasProps { style?: ViewStyle; nativeRef_EXPERIMENTAL?: React.MutableRefObject<any>; onContextCreated?: (gl: ExpoWebGLRenderingContext) => Promise<any> | void; } export declare const Canvas: React.MemoExoticComponent<(props: NativeCanvasProps) => JSX.Element>; export {};