react-babylonjs
Version:
React for Babylon.js
13 lines (12 loc) • 546 B
TypeScript
import React, { ReactNode } from 'react';
import { EngineOnlyProps } from './Engine';
import { WebGPUEngineOnlyProps } from './WebGPUEngine';
import { SharedEngineProps } from './engineProps';
export type FallbackEngineProps = {
engineProps?: EngineOnlyProps;
webGPUEngineProps?: WebGPUEngineOnlyProps;
} & SharedEngineProps & {
children?: ReactNode | undefined;
} & React.CanvasHTMLAttributes<HTMLCanvasElement>;
declare const ReactBabylonjsFallbackEngine: React.FC<FallbackEngineProps>;
export default ReactBabylonjsFallbackEngine;