diff options
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/html/Div.kt')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/html/Div.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/html/Div.kt b/src/main/kotlin/pl/treksoft/kvision/html/Div.kt index 6acc9d5b..42d6b496 100644 --- a/src/main/kotlin/pl/treksoft/kvision/html/Div.kt +++ b/src/main/kotlin/pl/treksoft/kvision/html/Div.kt @@ -34,7 +34,7 @@ import pl.treksoft.kvision.core.Container * @param init an initializer extension function */ open class Div( - content: String, + content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), @@ -54,7 +54,7 @@ open class Div( * It takes the same parameters as the constructor of the built component. */ fun Container.div( - content: String, + content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), |