mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
16 lines
393 B
Swift
16 lines
393 B
Swift
import MooToolNativeCore
|
|
import SwiftUI
|
|
|
|
struct ContentView: View {
|
|
@State private var selection: MooToolModule? = MooToolModuleCatalog.defaultSelection
|
|
|
|
var body: some View {
|
|
NavigationSplitView {
|
|
SidebarView(selection: $selection)
|
|
} detail: {
|
|
ModuleDetailView(module: selection)
|
|
}
|
|
.frame(minWidth: 960, minHeight: 620)
|
|
}
|
|
}
|