-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.android.js
More file actions
26 lines (23 loc) · 801 Bytes
/
index.android.js
File metadata and controls
26 lines (23 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import { AppRegistry, View } from 'react-native';
import Button from 'react-native-button';
import Joystick from './joystick';
import { styles } from './styles';
export default class roborzh extends Component {
render() {
return (
<View style={styles.container}>
<Button style={styles.button} containerStyle={styles.buttonContainer}>Button 1</Button>
<Button style={styles.button} containerStyle={styles.buttonContainer}>Button 2</Button>
<Button style={styles.button} containerStyle={styles.buttonContainer}>Button 3</Button>
<Joystick />
</View>
);
}
}
AppRegistry.registerComponent('roborzh', () => roborzh);