Expo and React Native' clojurescript binding.
(require '[cljs-exponent.contacts :as contacts])
(contacts/get-contacts-async [(aget contacts/Contacts "PHONE_NUMBER")
(aget contacts/Contacts "EMAIL")])
Supports both Om, Reagent and Rum.
(require '[cljs-exponent.components :as rn])
(rn/text "hi")
(.alert rn/alert "This is an alert!")
(rn/linear-gradient
{:colors ["#4c669f" "#3b5998" "#192f6a"]
:style {:padding 15
:alignItems "center"
:borderRadius 5}}
(text {:style {:backgroundColor "transparent"
:fontSize 15
:color "#fff"}}
"Sign in with Facebook"))
(require '[cljs-exponent.reagent :as rn])
[rn/text "hi"]
(.alert rn/alert "This is an alert!")
[rn/linear-gradient
{:colors ["#4c669f" "#3b5998" "#192f6a"]
:style {:padding 15
:align-items "center"
:border-radius 5}}
[text {:style {:background-color "transparent"
:font-size 15
:color "#fff"}}
"Sign in with Facebook"]]
Copyright © 2016 Tienson Qin
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.