This commit is contained in:
kornerr committed 2026-11-03 22:41:49 +03:00
1 parent 9943a13d81
commit 777f340fb8
6 files changed
+38 -5

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import SwiftCrossUI
struct HPView: View {
@State var vm: HPVM
init(_ vm: HPVM) {
self.vm = vm
}
var body: some View {
VStack(spacing: 16) {
Text("Hello, platform!")
.font(.largeTitle)
Text(vm.countText)
.font(.title3.monospaced())
Button("Increment") {
hpSet(F.didClickIncrement, true)
}
}
.padding(40)
}
}