UNPKG

react-babylonjs

Version:
14 lines (13 loc) 544 B
import { EngineOptions } from '@babylonjs/core/Engines/thinEngine.js'; import React, { ReactNode } from 'react'; import { SharedEngineProps } from './engineProps'; export type EngineOnlyProps = { engineOptions?: EngineOptions; antialias?: boolean; adaptToDeviceRatio?: boolean; }; export type EngineProps = EngineOnlyProps & SharedEngineProps & { children?: ReactNode | undefined; } & React.CanvasHTMLAttributes<HTMLCanvasElement>; declare const ReactBabylonjsEngine: React.FC<EngineProps>; export default ReactBabylonjsEngine;