Proyectos de Subversion Iphone Microlearning - Nuevo Interface

Rev

Rev 1 | | Comparar con el anterior | 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
 
8 efrain 12
    var capsuleModel : CapsuleModel
1 efrain 13
 
14
    var body: some View {
15
 
8 efrain 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
        }
1 efrain 25
    }
26
}
27
 
28
 
29
struct CommentAndRatingIntroductionView_Previews: PreviewProvider {
30
 
8 efrain 31
    static var capsuleModel = CapsuleModel()
1 efrain 32
 
33
    static var previews: some View {
8 efrain 34
        CommentAndRatingIntroductionView(capsuleModel: capsuleModel)
1 efrain 35
    }
36
}