Have anyone been able to add react-ace to kotlin(C...
# react
s
Have anyone been able to add react-ace to kotlin(CRKA)? https://github.com/securingsincity/react-ace I get
TypeError: Cannot read property '$metadata$' of undefined
used ts2kt and added
Copy code
@JsName("AceEditor")
external class AceEditor : Component<AceEditorProps, RState> {
    override fun render(): ReactElement?
}
solution: use https://github.com/mxj4/react-kotlin-ace-antlr-demo-app as ref with commit a7a047f. Copy scripts for ACE add
"modify-CSSProperties": "perl -p -i -e 's/CSSProperties/dynamic/g' src/generated/reactAce.kt"
add modify-CSSProperties to gen-react-ace-binding Copy Ace.kt Thanks Yue Liu