Files
2024-11-13 23:34:02 +00:00

16 lines
342 B
Swift

//
// Section.swift
// Revolt
//
// Created by Angelo on 29/10/2024.
//
import SwiftUI
extension Section {
init(_ title: String, content: @escaping () -> Content, footer: @escaping () -> Footer) where Parent == Text, Content: View, Footer: View {
self.init(content: content, header: { Text(title) }, footer: footer)
}
}