Skip to content

Commit

Permalink
◀️ format code
Browse files Browse the repository at this point in the history
  • Loading branch information
theapache64 committed Jun 13, 2021
1 parent 165f527 commit 9ccefba
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/jsMain/kotlin/main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ fun main() {
var bgColor by mutableStateOf("#003244")

renderComposable(rootElementId = "root") {
// main div
Div({
style {
padding(25.px)
backgroundColor(bgColor)
}
}) {

H1(
{
style {
color("white") // White text
}

H1({
style {
color("white") // White text
}
) {
}) {
Text("Hello $platform")
}

Expand Down

0 comments on commit 9ccefba

Please sign in to comment.