0.0.1 • Published 7 years ago

react-vr-walk v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

react-vr-walk

Walk around your ReactVr app with WASD!

Example:

import React from 'react';
import {
  AppRegistry,
  Text,
  View,
} from 'react-vr';
import Walk from 'react-vr-walk'

class App extends React.Component {
  render() {
    return(
      <Walk panoSource={asset('chess-world.jpg')}>
        <View style={{flex: 1, flexDirection: 'row'}}>
          <Text>Hey!</Text>
        </View>
      </Walk>
    )
  }
}
AppRegistry.registerComponent('App', () => App);