Skip to content

Instantly share code, notes, and snippets.

@azamsharp
Created May 27, 2020 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azamsharp/4cc9848b64a05c0bc5421cce6e4285d8 to your computer and use it in GitHub Desktop.
Save azamsharp/4cc9848b64a05c0bc5421cce6e4285d8 to your computer and use it in GitHub Desktop.
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