Mercurial > public > lazybear
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LazyBear/Views/Company/Helpers/CustomRectangleBox.swift Sun Jun 20 14:31:39 2021 +0200 @@ -0,0 +1,22 @@ +// +// CustomRectangleBox.swift +// LazyBear +// +// Created by Dennis Concepción Martín on 20/6/21. +// + +import SwiftUI + +struct CustomRectangleBox: View { + var body: some View { + RoundedRectangle(cornerRadius: 15) + .foregroundColor(.white) + .shadow(color: Color(.systemGray).opacity(0.25), radius: 10, x: 0.0, y: 0.0) + } +} + +struct CustomRectangleBox_Previews: PreviewProvider { + static var previews: some View { + CustomRectangleBox() + } +}