Hi all, I'm working on migrating a project from mu...
# javascript
p
Hi all, I'm working on migrating a project from muirwik and kotlin-react-legacy to kotlin-mui and kotlin-react. In muirwik we had a method called toolbarJsToPartialCss which we were able to use as below:
Copy code
val themeStyles = object : StyleSheet("ComponentStyles", isStatic = true) {
            val toolbar by css {
                toolbarJsCssToPartialCss(theme.mixins.toolbar)
            }
}
But I'm not able to figure out the alternative approach for kotlin-mui. Is there anything trivial which I'm missing? TIA
t
It looks like custom sugar