Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{ ExampleCmp ?
(bodyWidth && bodyHeight ? : null) :
`Unknown example: ${selectedExampleId}`
}
)
}
}
ExamplesApp = ReactXRAware(ExamplesApp, {
// For now, none of the examples make use of floor-relative tracking, so let's just
// limit it to a 'local' space to make it easier to keep things at eye height.
// TODO: figure out a good approach for floor-relative tracking for any future
// examples that make use of it.
referenceSpaces: ['local']
})
ReactDOM.render(, document.getElementById('app'))