@threlte/xr
Version:
Tools to more easily create VR and AR experiences with Threlte
17 lines (16 loc) • 526 B
TypeScript
import type { ComponentProps } from 'svelte';
import XRButton from './XRButton.svelte';
type Props = Omit<ComponentProps<typeof XRButton>, 'mode' | 'sessionInit'>;
/**
* `<VRButton />` is an HTML `<button />` that can be used to init and display info about your immersive VR session.
*
* ```svelte
* <VRButton
* onerror={(event) => {}}
* onclick={(event) => {}}
* />
* ```
*/
declare const VrButton: import("svelte").Component<Props, {}, "">;
type VrButton = ReturnType<typeof VrButton>;
export default VrButton;