Hi I'm back to kotlin after the latest release of ...
# multiplatform
j
Hi I'm back to kotlin after the latest release of 2.0.20. Yesterday I would like create a kotlin multiplatform project with the js target on, react and react-dom from kotlin wrappers with the last released version and a sample configuration in the main. Then I use the gradle 'jsRun' task for compile and run the application but I got this error. Can anyone help me? I can't figure out where I wrong.
e
Better post under #javascript
👍 1
k
You forgot to add the @JsExport as annotation where you are using the FCProps.
Copy code
@JsExport
private val App = FC<Props>{
+"Hello, World!"
}