Clojurians
#lambdaisland
<
2016-12-14
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

dhruv120:12:15

I am trying to use material-ui in my test project. I am running into this problem and I’m not sure how to solve it: (def radio-button (reagent/adapt-react-class (aget js/MaterialUI “RadioButton”)))

(reagent/render-component [radio-button {:value          "sadder"
                                         :label          "sad"
                                         :class-name     "col-xs-4"}]
                          (. js/document (getElementById “app”)))
this is what i see in the console (chrome dev-tools) Failed context type: Required context muiTheme was not specified in RadioButton