macbackend/Sources/Core/Model/Enumerations/VerticalAlignment.swift
david-swift faffc6da0f
All checks were successful
Deploy Docs / publish (push) Successful in 3m50s
SwiftLint / SwiftLint (push) Successful in 3s
Add support for frame
2025-01-05 11:07:46 +01:00

33 lines
540 B
Swift

//
// VerticalAlignment.swift
// MacBackend
//
// Created by david-swift on 05.01.25.
//
import SwiftUI
/// The vertical alignment.
public enum VerticalAlignment {
/// The top alignment.
case top
/// The center alignment.
case center
/// The bottom alignment.
case bottom
/// The SwiftUI alignment.
var swiftUI: SwiftUI.VerticalAlignment {
switch self {
case .top:
.top
case .center:
.center
case .bottom:
.bottom
}
}
}