taylorSando / om-material-ui

A simple wrapper around react MaterialUI
Eclipse Public License 1.0
49 stars 7 forks source link

Components cannot be applied #10

Open mikeandmore opened 9 years ago

mikeandmore commented 9 years ago

In other om components, if a component have a variable parameters and I want to pass in a variable array. I can do the following

(apply dom/div nil (map my-function list))

However, I notice that I no longer can do this for mui components. I believe the root cause is components are macros. I tried eval, but still doesn't work.

Any fix or workarounds?