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 (react-render-html - npm). i tried getting the plugin to work via

@JsModule("react-render-html")
external fun renderHtml(html:String):ReactElement

then
section{
renderHtml(foo)
}

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