Fork me on GitHub
#cljsrn
<
2019-02-28
>
anish02:02:39

My code looks like follows

anish03:02:34

However I'm getting an warning "Funtions are not valid react child This may happen if you return Component instead of </Compoment>"

anish03:02:19

According to react nav doc to get tab icons, :tabBarIcon should return react component

anish03:02:43

I see tab-icon getting called with tintColor and focused argument

anish03:02:01

I return react component

anish03:02:03

(r/reactify-component [icon {:color "red" :size 144 :name "restaurant-menu" :type "MaterialIcons"}])

anish03:02:33

is my understanding correct?

anish03:02:59

i was instead of component i have used r/element that fixed issue