20 lines
483 B
Swift
20 lines
483 B
Swift
import Elementary
|
|
import ManualDCore
|
|
import Styleguide
|
|
|
|
struct FrictionRateView: HTML, Sendable {
|
|
|
|
let componentLosses: [ComponentPressureLoss]
|
|
let projectID: Project.ID
|
|
|
|
var body: some HTML {
|
|
div(.class("p-4 space-y-6")) {
|
|
h1(.class("text-4xl font-bold pb-6")) { "Friction Rate" }
|
|
EquipmentInfoView(equipmentInfo: EquipmentInfo.mock)
|
|
ComponentPressureLossesView(
|
|
componentPressureLosses: componentLosses, projectID: projectID
|
|
)
|
|
}
|
|
}
|
|
}
|