Mercurial > public > lazybear
comparison LazyBear/Views/Global Helpers/RowShape.swift @ 405:fd8df65927e9
Implementing CapsuleChart in insiders
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Sat, 05 Jun 2021 19:04:44 +0200 |
parents | |
children | 2984d8946342 |
comparison
equal
deleted
inserted
replaced
404:444ec927d62f | 405:fd8df65927e9 |
---|---|
1 // | |
2 // RowShape.swift | |
3 // LazyBear | |
4 // | |
5 // Created by Dennis Concepción Martín on 5/6/21. | |
6 // | |
7 | |
8 import SwiftUI | |
9 | |
10 struct RowShape: View { | |
11 var body: some View { | |
12 RoundedRectangle(cornerRadius: 25) | |
13 .foregroundColor(Color("CustomSecondaryBackground")) | |
14 .shadow(color: Color(.gray).opacity(0.15), radius: 10) | |
15 } | |
16 } | |
17 | |
18 struct RowShape_Previews: PreviewProvider { | |
19 static var previews: some View { | |
20 RowShape() | |
21 } | |
22 } |