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 31bc8ef commit c1b9140Copy full SHA for c1b9140
doc/INTEROP.md
@@ -136,7 +136,7 @@ class MyJsComponent extends React.Component {
136
## Using Scala components from JSX
137
138
JSX is a little different than JS as it gets transpiled from code like
139
-`<Blah msg="abc" />` to `React.createElement(Blah, { msg: "abc" });`.
+`<Blah msg="abc" />` to `React.createElement(Blah, { msg: "abc" })`.
140
To make that work nicely we actually want to create a new JS component and expose it.
141
142
1. Create a JS object representation of your component's props.
0 commit comments