blob: b7c0e7f4a521a9a69cd23254b5fbf27e4abc61f4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import SwiftUI
struct BlockView: View {
@ObservedObject var block: Block
var body: some View {
HStack(spacing: 0) {
ForEach(block.cells.indices, id: \.self) { index in
CellView(text: block.cells[index])
}
}
}
}
|