summaryrefslogtreecommitdiff
path: root/Jel/Views/Library/Item/ItemPeopleView.swift
blob: b8b08466151460b8a4cb9c44034f963781ba2f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
//  ItemPeopleView.swift
//  Jel
//
//  Created by zerocool on 1/8/24.
//

import SwiftUI
import JellyfinKit

struct ItemPeopleView: View {
  var item: BaseItemDto
  
  var body: some View {
    ScrollView(.horizontal) {
      HStack {
        ForEach(item.people ?? []) {person in
          Text(person.name ?? "---")
        }
      }
    }
  }
}

//#Preview {
//    ItemPeopleView()
//}