cfnz / muirwik

Muirwik - a Material UI React wrapper written in Kotlin
Mozilla Public License 2.0
132 stars 25 forks source link

Update to follow Kotlin react #73

Closed smallshen closed 2 years ago

smallshen commented 3 years ago

https://github.com/JetBrains/kotlin-wrappers/commit/b0926da89ed2d1d33c887649b340f40af2ef2a83

arkivanov commented 2 years ago

Muirwik code does not compile after upgrading Kotlin Wrappers to pre.284. Various errors like:

Cannot access class 'react.RBuilder'. Check your module classpath for missing or conflicting dependencies
Cannot access class 'react.Props'. Check your module classpath for missing or conflicting dependencies
'fun RBuilder.mContainer(maxWidth: Breakpoint? = ..., fixed: Boolean = ..., disableGutters: Boolean = ..., component: String = ..., className: String? = ..., handler: StyledHandler<MContainerProps>? /* = (StyledElementBuilder<MContainerProps>.() -> Unit)? */ = ...): Unit' can't be called in this context by implicit receiver. Use the explicit one if necessary

Perhaps because of the recent changes. Maybe this should be also fixed in scope of this task?

cfnz commented 2 years ago

Version 5 branch was released some time ago, but just now merged into Master and included support for the latest wrappers, but note it uses the legacy version of the wrappers. Also check out possible retirement note on Muirwik in the readme.