element-ios/RiotSwiftUI/Modules/Common/InfoSheet/InfoSheetModels.swift

25 lines
433 B
Swift

//
// Copyright 2021-2024 New Vector Ltd.
//
// SPDX-License-Identifier: AGPL-3.0-only
// Please see LICENSE in the repository root for full details.
//
// MARK: View model
enum InfoSheetViewModelResult {
case actionTriggered
}
// MARK: View
struct InfoSheetViewState: BindableState {
let title: String
let description: String
let action: InfoSheet.Action
}
enum InfoSheetViewAction {
case actionTriggered
}