Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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