Fork me on GitHub
#reagent
<
2016-06-25
>
seantempesta03:06:38

How do I define props in a reagent component that are accessible to a parent (normal react) component?

seantempesta05:06:45

ah, figured it out. if anyone is interested:

(defn right-view []
  (fn []
  [view {:size 30}
       [text {} "hi"]]))

(def right-view-c (r/reactify-component right-view))

 (r/create-element right-view-c #js {:size 30})