Shagen Ogandzhanian
3 years ago
2 changed files with 14 additions and 8 deletions
@ -0,0 +1,14 @@ |
|||||||
|
/* |
||||||
|
* Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers. |
||||||
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file. |
||||||
|
*/ |
||||||
|
|
||||||
|
package org.jetbrains.compose.web.css |
||||||
|
|
||||||
|
fun StyleBuilder.backgroundColor(value: CSSColorValue) { |
||||||
|
property("background-color", value) |
||||||
|
} |
||||||
|
|
||||||
|
fun StyleBuilder.backgroundColor(value: String) { |
||||||
|
property("background-color", value) |
||||||
|
} |
Loading…
Reference in new issue