//
//  SharingTemplate.swift
//  Feels (iOS)
//
//  Created by Trey Tartt on 2/6/22.
//

import Foundation
import SwiftUI

protocol SharingTemplate {
    associatedtype MainView : View
    associatedtype Preview : View
    
    var startDate: Date { get }
    var endDate: Date { get }
    var isPreview: Bool { get }
    var image: UIImage {  get }
    static var description: String { get }
    
    @ViewBuilder var mainView: Self.MainView { get }
    @ViewBuilder var preview: Self.Preview { get }
}
