Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 836 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 836 Bytes

Maven Central

Module kotlin-react

Kotlin wrapper for the React library. The major version number of this wrapper matches that of React itself.

kotlin-react vs kotlin-react-legacy

kotlin-react only supports the new DSL for React elements (ChildrenBuilder, aka "no attrs"), while kotlin-react-legacy provides the familiar RBuilder DSL.

See CHANGELOG.md for more details.

Setup

Gradle

repositories {
    mavenCentral()
}

implementation("org.jetbrains.kotlin-wrappers:kotlin-react:VERSION")

Usage

Please refer to the Kotlin React guide for how to use the Kotlin React DSL.