Skip to content

Instantly share code, notes, and snippets.

@rtking1993
Last active June 5, 2019 16: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 rtking1993/e32de623605e2380a9a168f9abdddda5 to your computer and use it in GitHub Desktop.
Save rtking1993/e32de623605e2380a9a168f9abdddda5 to your computer and use it in GitHub Desktop.
CircleImage supporting view which is displayed within Safari Animals
// MARK: - Frameworks
import SwiftUI
// MARK: - CircleImage
struct CircleImage: View {
var image: Image
var body: some View {
image
.clipShape(Circle())
.overlay(Circle().stroke(Color.white, lineWidth: 4))
.shadow(radius: 12)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment