Fork me on GitHub
#cljsrn
<
2018-07-16
>
shidima07:07:42

is re-natal still the way to go for cljs and react native?

Oliver George07:07:10

I think it's the best option at present.

shidima13:07:56

Well, I have re-natal setup, and added some components myself and that works fine. But I'm running into some problems with ToolbarAndroid.

shidima13:07:09

It is not showing up?

(def toolbar (r/adapt-react-class (.-ToolbarAndroid ReactNative)))

(def logo-img (js/require "./images/cljs.png"))

(defn alert [title]
      (.alert (.-Alert ReactNative) title))

(defn app-root []
    (fn []
      [toolbar {:logo logo-img :title "Future App" :show "always"}]))