Wizard: fix default template compilation when using JS IR
#KT-39904 fixed
This commit is contained in:
+2
-1
@@ -14,12 +14,13 @@ import react.dom.div
|
|||||||
import react.dom.input
|
import react.dom.input
|
||||||
#end
|
#end
|
||||||
|
|
||||||
interface WelcomeProps : RProps {
|
external interface WelcomeProps : RProps {
|
||||||
var name: String
|
var name: String
|
||||||
}
|
}
|
||||||
|
|
||||||
data class WelcomeState(val name: String) : RState
|
data class WelcomeState(val name: String) : RState
|
||||||
|
|
||||||
|
@JsExport
|
||||||
class Welcome(props: WelcomeProps) : RComponent<WelcomeProps, WelcomeState>(props) {
|
class Welcome(props: WelcomeProps) : RComponent<WelcomeProps, WelcomeState>(props) {
|
||||||
|
|
||||||
init {
|
init {
|
||||||
|
|||||||
Reference in New Issue
Block a user