This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-26
Channels
- # architecture (2)
- # beginners (83)
- # boot (472)
- # cider (10)
- # cljsrn (4)
- # clojure (80)
- # clojure-russia (7)
- # clojure-spec (34)
- # clojure-taiwan (1)
- # clojure-uk (7)
- # clojurescript (19)
- # core-async (5)
- # emacs (7)
- # figwheel (1)
- # hoplon (52)
- # jobs (1)
- # luminus (14)
- # om (1)
- # om-next (3)
- # perun (69)
- # proton (2)
- # protorepl (4)
- # re-frame (28)
- # reagent (6)
- # remote-jobs (1)
anyone experienced with using https://github.com/oblador/react-native-vector-icons with reagent?
I thought a simple (def ionicon (r/adapt-react-class (js/require "react-native-vector-icons/Ionicons")))
would do it but doesn't seem to be working
ah looks like the es6 export messed it up. This works
(def ionicon (js/require "react-native-vector-icons/Ionicons"))
(def ionicon-icon (r/adapt-react-class (.. ionicon -default)))
yeah that's really common with more recent RN modules