We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79b0378 commit 98c47a4Copy full SHA for 98c47a4
doc/INTEROP.md
@@ -165,7 +165,7 @@ object Example {
165
@JSExportTopLevel("MyScalaComponent")
166
val myJsComponent =
167
myScalaComponent
168
- .cmapCtorProps[JsProps](_.name) // Change props from Scala to JS
+ .cmapCtorProps[JsProps](_.name) // Change props from JS to Scala
169
.toJsComponent // Create a new, real JS component
170
.raw // Leave the nice Scala wrappers behind and obtain the underlying JS value
171
}
0 commit comments