comparison LazyBear/Views/Company/Helpers/CustomRectangleBox.swift @ 439:aa1f4b614b2b

Implementing CompanyView
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sun, 20 Jun 2021 14:31:39 +0200
parents
children 417148200aaf
comparison
equal deleted inserted replaced
438:7f2a24a774eb 439:aa1f4b614b2b
1 //
2 // CustomRectangleBox.swift
3 // LazyBear
4 //
5 // Created by Dennis Concepción Martín on 20/6/21.
6 //
7
8 import SwiftUI
9
10 struct CustomRectangleBox: View {
11 var body: some View {
12 RoundedRectangle(cornerRadius: 15)
13 .foregroundColor(.white)
14 .shadow(color: Color(.systemGray).opacity(0.25), radius: 10, x: 0.0, y: 0.0)
15 }
16 }
17
18 struct CustomRectangleBox_Previews: PreviewProvider {
19 static var previews: some View {
20 CustomRectangleBox()
21 }
22 }