You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(ns tech.matterindustries.titan.mobile.core.main
(:require [react]
[react-native :as rn]))
(def <> react/createElement)
(defn renderfn [props]
(<> rn/View
#js {:style #js {:backgroundColor "#FFFFFF"
:flex 1
:justifyContent "center"}}
(<> rn/Text
#js {:style #js {:color "black" :textAlign "center"}}
(str "HELLO Mobile"))))
;; the function figwheel-rn-root must be provided. It will be called by
;; react-native-figwheel-bridge to render your application.
;; You can configure the name of this function with config.renderFn
(defn figwheel-rn-root []
(renderfn {}))
(defn renderfn [props]
(<> rn/View
#js {:style #js {:backgroundColor "#FFFFFF"
:flex 1
:justifyContent "center"}}
(<> rn/Text
#js {:style #js {:color "black" :textAlign "center"}}
(str "HELLO"))))
;; the function figwheel-rn-root must be provided. It will be called by
;; react-native-figwheel-bridge to render your application.
;; You can configure the name of this function with config.renderFn
(defn figwheel-rn-root []
(renderfn {}))`
I am following the sample example.
In my main I have:
The android.cljs.edn
^{:open-url false :npm {:bundles {"dummy.js" "index.js"}}} {:main core.main}
My index.js
The deps.edn
And is the error that I get:
The text was updated successfully, but these errors were encountered: