Created
May 27, 2020 02:29
-
-
Save azamsharp/4cc9848b64a05c0bc5421cce6e4285d8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Button(action: { | |
}) { | |
// SF Symbols | |
Image(systemName: self.systemName) | |
.resizable() | |
.frame(width: self.size.width, height: self.size.height) | |
.padding(20) | |
.background(Color(#colorLiteral(red: 0.8039215803, green: 0.8039215803, blue: 0.8039215803, alpha: 1))) | |
}.clipShape(Circle()) | |
.shadow(color: gray, radius: 8, x: 8, y: 8) | |
.shadow(color: white, radius: 8, x: -8, y: -8) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment