Hi, using the latest kotlin-mui wrapper (pre.620 /...
# react
f
Hi, using the latest kotlin-mui wrapper (pre.620 / pre.621) , it seems that the Card component is missing some basic props. I am not able to use “className” or “id” on this component. I am guessing that props from
react.dom.html.HTMLAttributes<web.html.HTMLDivElement>
are actually missing because it is not there anymore (new
PaperOwnProps
) Errors are
Unresolved reference: className
or
Unresolved reference: id
using f.e:
Copy code
Card {
    className = ClassName("my-classname")
I guess this need to be added in a MR.
a
Hi @Florent Martin, do you mean MUI Material
Card
component? If yes, please create an issue here and I’ll fix it. For now you can try next approach:
Copy code
Card {
    classes = jso {
        root = ClassName("my-classname")
    }
}
f
Yes it’s about the MUI Material
Card
component. I will create an issue. Thank you!
@aerialist Hi Alexander, I thought I would contribute to the mui kotlin-wrapper to solve this (classname & id) but I don’t know how to test my changes in the repo. Where can I get informations about that?