rum 2020-07-26

Hi guys, how can I access the children of a component? I'm trying something like:

(defc container
  [& children]
  [:div {:style {:border "1px solid black"}} children])

@coetry & children ends up being a collection, so try concating it onto the div, like this: (concat [:div ...] children)

but it doesn't render anything, and if I only pass in a single argument children, then only the first child renders