How to use the react-vr.AppRegistry.registerComponent function in react-vr

To help you get started, we’ve selected a few react-vr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github facebook / react-360 / EndToEnd / testapp / e2e.vr.js View on Github external
fontSize: 0.8,
            layoutOrigin: [0.5, 0.5],
            paddingLeft: 0.2,
            paddingRight: 0.2,
            textAlign: 'center',
            textAlignVertical: 'center',
            transform: [{translate: [0, 0, -3]}],
          }}>
          hello
        
      
    );
  }
}

AppRegistry.registerComponent('End2End', () => End2End);
github bitcoin-vr / bitcoin-vr / index.vr.js View on Github external
import {
  AppRegistry,
} from 'react-vr';

import App from './src/app'

AppRegistry.registerComponent('BitcoinVR', () => App);
github amazingandyyy / vr-player / index.vr.js View on Github external
import React, {Component} from 'react';
import {
  AppRegistry
} from 'react-vr';
import Hello from './components/hello';

export default class WelcomeToVR extends Component {
  render() {
    return (
      
    );
  }
};

AppRegistry.registerComponent('WelcomeToVR', () => WelcomeToVR);
github facebook / react-360 / Examples / VideoSample / index.vr.js View on Github external
<video style="{{height:">
          
        
      
    );
  }
}

AppRegistry.registerComponent('VideoSample', () =&gt; VideoSample);
</video>
github facebook / react-360 / Examples / CylindricalPanel / index.vr.js View on Github external
width: 600,
                height: 315,
              }}
              source={{
                uri: 'https://facebook.github.io/react/img/logo_og.png',
              }}
            /&gt;
            <button>
          
        
      
    );
  }
}

AppRegistry.registerComponent('CylindricalPanelDemo', () =&gt; CylindricalPanelDemo);
</button>

react-vr

A framework for building VR applications with React

BSD-3-Clause
Latest version published 7 years ago

Package Health Score

56 / 100
Full package analysis