summaryrefslogtreecommitdiff
path: root/client/app.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-06-01 19:47:08 -0400
committerJules Laplace <julescarbon@gmail.com>2017-06-01 19:47:08 -0400
commit3e72bfa56c860826429a842f6c128d78d4a930db (patch)
tree3cecd31c92d53fae32e9761b80802c82f3dcb7fa /client/app.js
parentb694bd511ceccd00d4a4c98f36f910d5fc5f79c4 (diff)
react-native-web port of fmf app
Diffstat (limited to 'client/app.js')
-rw-r--r--client/app.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/client/app.js b/client/app.js
new file mode 100644
index 0000000..1be697c
--- /dev/null
+++ b/client/app.js
@@ -0,0 +1,22 @@
+import React, { Component } from 'react';
+import {
+ StyleSheet,
+ Text,
+ View,
+ Platform,
+} from 'react-native';
+import { BrowserRouter } from 'react-router-dom'
+import App from './src/lib/app'
+
+const platformText = {ios: 'iOS', android: 'Android', web: 'Web' }
+
+export default class HanselGretelApp extends Component {
+ render() {
+ return (
+ <BrowserRouter>
+ <App />
+ </BrowserRouter>
+ )
+ }
+}
+