Skip to content

Commit 98c47a4

Browse files
authored
Fix doc
1 parent 79b0378 commit 98c47a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/INTEROP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ object Example {
165165
@JSExportTopLevel("MyScalaComponent")
166166
val myJsComponent =
167167
myScalaComponent
168-
.cmapCtorProps[JsProps](_.name) // Change props from Scala to JS
168+
.cmapCtorProps[JsProps](_.name) // Change props from JS to Scala
169169
.toJsComponent // Create a new, real JS component
170170
.raw // Leave the nice Scala wrappers behind and obtain the underlying JS value
171171
}

0 commit comments

Comments
 (0)