Kotlin-react display html from database


using the org.jetbrains.kotlin.frontend plugin with react…

I am feeding the app from a rest app and trying to display a blog post that is formatted in html. if i was writing pure react i would just use the react-render-html plugin (https://www.npmjs.com/package/react-render-html). i tried getting the plugin to work via

external fun renderHtml(html:String):ReactElement


is there a better way of doing this or should i try and get the plugin to work…