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

24 lines
507 B
Swift

//
// 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 = MenuWidget
/// The wrapper type.
public typealias WrapperType = MenuCollection
/// The either view type.
public typealias EitherViewType = NotUpdatableEitherView
}
/// The type of the widgets.
public protocol MenuWidget: Meta.Widget { }