Browse Source

Reformat Kotlin snippet in README (#781)

It now conforms to the official Kotlin style guide.
pull/796/head
Louis CAD 3 years ago committed by GitHub
parent
commit
a57f037c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tutorials/Web/Getting_Started/README.md

4
tutorials/Web/Getting_Started/README.md

@ -103,14 +103,14 @@ fun main() {
var count: Int by mutableStateOf(0)
renderComposable(rootElementId = "root") {
Div({style { padding(25.px) }}) {
Div({ style { padding(25.px) } }) {
Button(attrs = {
onClick { count -= 1 }
}) {
Text("-")
}
Span({style {padding(15.px) }}) {
Span({ style { padding(15.px) } }) {
Text("$count")
}

Loading…
Cancel
Save