bkenn
01/30/2018, 4:41 PM@JsModule("material-ui/Checkbox") external val mCheckbox: RClass<RProps>
to target a basic component. Before using the checkbox, the application compiles. However when I place the component into a render function of the App class, I receive the following exception being thrown: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
. Has anyone come across such an error? Why is react interpreting material-ui/Checkbox as an object and not a class/function?