(root)/twogetskills/View/CommentAndRatingIntroductionView.swift – Rev 1
Ir a la última revisión |
|
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 introduction: String
|
|
|
13 |
|
|
|
14 |
var body: some View {
|
|
|
15 |
|
|
|
16 |
ScrollView {
|
|
|
17 |
TextHtmlView(content: introduction)
|
|
|
18 |
.padding(10)
|
|
|
19 |
|
|
|
20 |
} .background(Color("color_window_background"))
|
|
|
21 |
}
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
struct CommentAndRatingIntroductionView_Previews: PreviewProvider {
|
|
|
26 |
|
|
|
27 |
static var introduction : String = "<h1>Titulo </h1><b>Cada</b>"
|
|
|
28 |
|
|
|
29 |
static var previews: some View {
|
|
|
30 |
CommentAndRatingIntroductionView(introduction: introduction)
|
|
|
31 |
}
|
|
|
32 |
}
|