UNPKG

react-native-filament

Version:

A real-time physically based 3D rendering engine for React Native

21 lines 834 B
/// <reference types="react-native/types/modules/codegen" /> import type { HostComponent, ViewProps } from 'react-native'; import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes'; export interface NativeProps extends ViewProps { /** * Called when the native view has been attached to the window. */ onViewReady: DirectEventHandler<null>; /** * Every pixel of the view that is not covered by the Filament scene will be transparent. * * @note if you use a skybox you should disable this feature. * * @default true */ enableTransparentRendering?: boolean; } export type FilamentViewNativeType = HostComponent<NativeProps>; declare const _default: FilamentViewNativeType; export default _default; //# sourceMappingURL=FilamentViewNativeComponent.d.ts.map