Proyectos de Subversion Iphone Microlearning - Inconcert

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
//
2
//  CommentAndRatingIntroductionView.swift
3
//  twogetskills
4
//
5
//  Created by Efrain Yanez Recanatini on 7/28/22.
6
//
7
 
8
import SwiftUI
9
 
10
struct CommentAndRatingIntroductionView: View {
11
 
12
    var capsuleModel : CapsuleModel
13
 
14
    var body: some View {
15
 
16
        GeometryReader { geometry in
17
            ScrollView {
18
                TextHtmlView(content: capsuleModel.description)
19
                    .frame(width: geometry.size.width, height: geometry.size.height
20
                            )
21
 
22
 
23
            } .background(Color("color_window_background"))
24
        }
25
    }
26
}
27
 
28
 
29
struct CommentAndRatingIntroductionView_Previews: PreviewProvider {
30
 
31
    static var capsuleModel = CapsuleModel()
32
 
33
    static var previews: some View {
34
        CommentAndRatingIntroductionView(capsuleModel: capsuleModel)
35
    }
36
}