Calling Kotlin/React from javascript

I’m trying to use Kotlin for building my React APP (GitHub - JetBrains/create-react-kotlin-app: Create React apps using Kotlin with no build configuration). How can I call a function defined in the Kotlin class through the javascript function? How to set the module using create-react-kotlin-app?