Fork me on GitHub
#rum
<
2023-08-20
>
Stef Coetzee20:08:27

Hi! How might one access the props and children passed to a Rum component? I recently came across how this is done in Reagent [1], but do not yet know how to do this with Rum. [1] https://clojurians.slack.com/archives/C053AK3F9/p1692451001845109?thread_ts=1692446980.317399&amp;cid=C053AK3F9

cmdrdats13:09:33

I have a similar case to the above, but trying to get into the 'slot prop's exposed by the component: https://headlessui.com/react/menu (specifically, the 'close' function)

cmdrdats13:09:46

can't seem to figure out how to get at that