Fork me on GitHub
#lambdaisland
<
2016-12-14
>
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