@react-three/uikit
Version:
Build performant 3D user interfaces with react-three-fiber and yoga.
12 lines (11 loc) • 591 B
TypeScript
import { ReactNode, RefAttributes } from 'react';
import { FullscreenProperties as BaseFullscreenProperties } from '@pmndrs/uikit/internals';
import { ComponentInternals } from './ref.js';
import { R3FEventMap } from './utils.js';
export type FullscreenProperties = BaseFullscreenProperties<R3FEventMap> & {
children?: ReactNode;
attachCamera?: boolean;
distanceToCamera?: number;
};
export type FullscreenRef = ComponentInternals<BaseFullscreenProperties<R3FEventMap>>;
export declare const Fullscreen: (props: FullscreenProperties & RefAttributes<FullscreenRef>) => ReactNode;