Skip to content

r3f-xr-widgets / EnterXRButtonProps

Interface: EnterXRButtonProps

Defined in: src/components/EnterXRButton.tsx:14

Props for the EnterXRButton component

Properties

buttonStyle?

optional buttonStyle: CSSProperties

Defined in: src/components/EnterXRButton.tsx:22

Custom styles for the button element


id?

optional id: string

Defined in: src/components/EnterXRButton.tsx:24

Optional ID for testing


mode?

optional mode: XRSessionMode

Defined in: src/components/EnterXRButton.tsx:18

Session mode to enter (default: 'immersive-vr')


store

store: XRStore

Defined in: src/components/EnterXRButton.tsx:16

XR store from @react-three/xr


style?

optional style: CSSProperties

Defined in: src/components/EnterXRButton.tsx:20

Custom styles for the container div

Released under the MIT License.