diff options
Diffstat (limited to 'examples/showcase/src')
-rw-r--r-- | examples/showcase/src/main/kotlin/com/example/DataTab.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/showcase/src/main/kotlin/com/example/DataTab.kt b/examples/showcase/src/main/kotlin/com/example/DataTab.kt index 8a38e001..ed690340 100644 --- a/examples/showcase/src/main/kotlin/com/example/DataTab.kt +++ b/examples/showcase/src/main/kotlin/com/example/DataTab.kt @@ -1,7 +1,7 @@ package com.example import com.lightningkite.kotlin.observable.list.observableListOf -import pl.treksoft.kvision.data.DataComponent +import pl.treksoft.kvision.data.BaseDataComponent import pl.treksoft.kvision.data.DataContainer import pl.treksoft.kvision.form.check.CHECKBOXSTYLE import pl.treksoft.kvision.form.check.CheckBox @@ -20,7 +20,7 @@ class DataTab : SimplePanel() { val panel = VPanel(spacing = 5) - class DataModel(checked: Boolean, text: String) : DataComponent() { + class DataModel(checked: Boolean, text: String) : BaseDataComponent() { var checked: Boolean by obs(checked) var text: String by obs(text) } |