Files
gitjs-privet-mir/components/root/mac/view/RootView.swift
T
2026-10-16 13:49:07 +03:00

25 lines
474 B
Swift

import SwiftUI
struct RootView: View {
@ObservedObject var vm: RootVM
init(_ vm: RootVM) {
self.vm = vm
}
var body: some View {
VStack(spacing: 16) {
Text("Hello, World!")
.font(.largeTitle)
Text(vm.countText)
.font(.title3.monospacedDigit())
Button("Increment") {
rootSet(F.didClickIncrement, true)
}
}
.padding(40)
}
}