Hello there, I am digging with the KotlinJS and Re...
# javascript
l
Hello there, I am digging with the KotlinJS and React for almost the first time and I am having struggles creating a wrapper for the "react-select" component. What I did is: @JsModule("react-select") external val Select: RClass<dynamic> and then in my App's render method I simply wrote: Select { } Which compiles fine, but I got this error at runtime: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Can someone point out what am I doing wrong, please?