diff --git a/.bsb.lock b/.bsb.lock
new file mode 100644
index 0000000..d333840
--- /dev/null
+++ b/.bsb.lock
@@ -0,0 +1 @@
+90861
\ No newline at end of file
diff --git a/.merlin b/.merlin
index 5bb0f70..ad2a902 100644
--- a/.merlin
+++ b/.merlin
@@ -1,16 +1,20 @@
####{BSB GENERATED: NO EDIT
-FLG -ppx '/Users/prisc_000/Downloads/react-native-web-test/node_modules/bs-platform/lib/reactjs_jsx_ppx_2.exe'
-FLG -ppx /Users/prisc_000/Downloads/react-native-web-test/node_modules/bs-platform/lib/bsppx.exe
-S /Users/prisc_000/Downloads/react-native-web-test/node_modules/bs-platform/lib/ocaml
-B /Users/prisc_000/Downloads/react-native-web-test/node_modules/bs-platform/lib/ocaml
+FLG -ppx '/Users/prisc_000/working/RNWEB/reason-react-native-web-demo/node_modules/bs-platform/lib/reactjs_jsx_ppx_2.exe'
+FLG -ppx /Users/prisc_000/working/RNWEB/reason-react-native-web-demo/node_modules/bs-platform/lib/bsppx.exe
+S /Users/prisc_000/working/RNWEB/reason-react-native-web-demo/node_modules/bs-platform/lib/ocaml
+B /Users/prisc_000/working/RNWEB/reason-react-native-web-demo/node_modules/bs-platform/lib/ocaml
FLG -nostdlib -color always
FLG -w -30-40+6+7+27+32..39+44+45+101
-S /Users/prisc_000/Downloads/react-native-web-test/node_modules/bs-react-native/lib/ocaml
-B /Users/prisc_000/Downloads/react-native-web-test/node_modules/bs-react-native/lib/ocaml
-S /Users/prisc_000/Downloads/react-native-web-test/node_modules/reason-react/lib/ocaml
-B /Users/prisc_000/Downloads/react-native-web-test/node_modules/reason-react/lib/ocaml
+S /Users/prisc_000/working/RNWEB/reason-react-native-web-demo/node_modules/bs-react-native/lib/ocaml
+B /Users/prisc_000/working/RNWEB/reason-react-native-web-demo/node_modules/bs-react-native/lib/ocaml
+S /Users/prisc_000/working/RNWEB/reason-react-native-web-demo/node_modules/reason-react/lib/ocaml
+B /Users/prisc_000/working/RNWEB/reason-react-native-web-demo/node_modules/reason-react/lib/ocaml
S src
B lib/bs/src
+S src/BsReactNativeWeb
+B lib/bs/src/BsReactNativeWeb
+S src/BsReactNativeWeb/private
+B lib/bs/src/BsReactNativeWeb/private
S src/styles
B lib/bs/src/styles
####BSB GENERATED: NO EDIT}
diff --git a/package.json b/package.json
index bab7e77..37e749e 100755
--- a/package.json
+++ b/package.json
@@ -9,9 +9,9 @@
"react": "16.8.4",
"react-art": "16.8.4",
"react-dom": "16.8.4",
- "react-native-web": "0.10.0",
+ "react-native-web": "0.11.0",
"react-scripts": "2.1.8",
- "reason-react": "0.5.3"
+ "reason-react": "0.6.0"
},
"devDependencies": {
"bs-platform": "4.0.18",
diff --git a/src/App.bs.js b/src/App.bs.js
index 2943026..83df6a5 100644
--- a/src/App.bs.js
+++ b/src/App.bs.js
@@ -1,8 +1,8 @@
// Generated by BUCKLESCRIPT VERSION 4.0.18, PLEASE EDIT WITH CARE
'use strict';
+var Link = require("./Link.bs.js");
var Utils = require("./Utils.bs.js");
-var React = require("react");
var Styles = require("./styles/Styles.bs.js");
var Caml_option = require("bs-platform/lib/js/caml_option.js");
var ReasonReact = require("reason-react/src/ReasonReact.js");
@@ -35,20 +35,13 @@ function make(_children) {
])),
ReasonReact.element(undefined, undefined, Text$BsReactNative.make(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, Caml_option.some(Styles.styles.text), undefined, undefined, undefined, undefined, undefined, undefined, undefined, /* array */[
Utils.s("This is an example of an app built with "),
- ReasonReact.element(undefined, undefined, Text$BsReactNative.make(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, /* array */[React.createElement("a", {
- href: "https://github.com/facebook/create-react-app"
- }, Utils.s("Create React App"))])),
+ ReasonReact.element(undefined, undefined, Link.make("https://github.com/facebook/create-react-app", undefined, "Create React App", /* array */[])),
Utils.s(" and "),
- ReasonReact.element(undefined, undefined, Text$BsReactNative.make(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, Caml_option.some(Styles.styles.link), undefined, undefined, undefined, undefined, undefined, undefined, undefined, /* array */[React.createElement("a", {
- href: "https://github.com/necolas/react-native-web"
- }, Utils.s("React Native for Web"))]))
+ ReasonReact.element(undefined, undefined, Link.make("https://github.com/necolas/react-native-web", undefined, "React Native for Web", /* array */[]))
])),
ReasonReact.element(undefined, undefined, Text$BsReactNative.make(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, Caml_option.some(Styles.styles.text), undefined, undefined, undefined, undefined, undefined, undefined, undefined, /* array */[
Utils.s("To get started, edit "),
- ReasonReact.element(undefined, undefined, Text$BsReactNative.make(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, Caml_option.some(Styles.styles.link), undefined, undefined, undefined, undefined, undefined, undefined, undefined, /* array */[React.createElement("a", {
- style: Styles.code,
- href: "https://codesandbox.io/s/q4qymyp2l6/"
- }, Utils.s("src/App.js"))])),
+ ReasonReact.element(undefined, undefined, Link.make("https://codesandbox.io/s/q4qymyp2l6/", Caml_option.some(Styles.styles.code), "src/App.js", /* array */[])),
Utils.s(". ")
])),
ReasonReact.element(undefined, undefined, Button$BsReactNative.make(undefined, undefined, undefined, (function (param) {
diff --git a/src/App.re b/src/App.re
index d3aab04..494a778 100644
--- a/src/App.re
+++ b/src/App.re
@@ -18,19 +18,16 @@ let make = (_children) => {
"This is an example of an app built with "->s
-
- "Create React App"->s
-
+
" and "->s
-
- "React Native for Web"->s
-
+
"To get started, edit "->s
-
- "src/App.js"->s
-
+
". "->s