term-kit-backend/Sources/TermKitBackend/Menu/MenuContext.swift

22 lines
416 B
Swift
Raw Normal View History

2024-07-18 16:07:37 +02:00
//
// MenuContext.swift
// TermKitBackend
//
// Created by david-swift on 13.07.2024.
//
import TermKit
/// The menu items view context.
public enum MenuContext: ViewRenderData {
/// The type of the widgets.
public typealias WidgetType = Widget
/// The wrapper type.
public typealias WrapperType = MenuCollection
/// The type of the widgets.
public protocol Widget: Meta.Widget { }
}