Mercurial > public > stock-charts
comparison Sources/InteractiveCharts/UI Previews/ContentView.swift @ 14:edf2bfcd8d97
Reorganise structure
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Wed, 28 Apr 2021 19:01:40 +0200 |
parents | InteractiveCharts/UI Previews/ContentView.swift@a9690565726b |
children |
comparison
equal
deleted
inserted
replaced
13:fdab6510dc46 | 14:edf2bfcd8d97 |
---|---|
1 // | |
2 // ContentView.swift | |
3 // InteractiveCharts | |
4 // | |
5 // Created by Dennis Concepción Martín on 26/4/21. | |
6 // | |
7 | |
8 import SwiftUI | |
9 | |
10 struct ContentView: View { | |
11 var body: some View { | |
12 TabView { | |
13 ChartViewPreview(data: generateSampleData(350)) | |
14 .tabItem { | |
15 Label("ChartView", systemImage: "house") | |
16 } | |
17 } | |
18 } | |
19 } | |
20 | |
21 struct ContentView_Previews: PreviewProvider { | |
22 static var previews: some View { | |
23 ContentView() | |
24 } | |
25 } |