Fork me on GitHub
#reagent
<
2019-04-03
>
mateus.pimentel.w18:04:30

is it possible to pass hiccup inside a prop?

jimberlage18:04:20

For sure. (let [my-prop [:p "hi"]] [:div my-prop])

lilactown20:04:15

You just have to ensure that you return the hiccup in the child’s children in order for reagent to render it