//
//  ErrorView.swift
//  Sailassist
//
//  Created by 三浦薫巳 on 2023/11/13.
//

import SwiftUI

struct ErrorView: View {
    var errorText: String

    var body: some View {
        Text(errorText)
    }
}

struct ErrorView_Previews: PreviewProvider {
    static var previews: some View {
        ErrorView(errorText: "Error message")
    }
}
