AuthotizedRootDataFlow.swift 326 B

12345678910111213141516171819
  1. import SwiftUI
  2. enum AuthotizedRoot {
  3. enum Config {
  4. static let initialTab = 0
  5. }
  6. struct Tab: Identifiable {
  7. let rootScreen: Screen
  8. let view: AnyView
  9. let image: Image
  10. let text: Text
  11. var id: Int { rootScreen.id }
  12. }
  13. }
  14. protocol AuthotizedRootProvider: Provider {}