Created
June 25, 2020 04:00
-
-
Save karthironald/d32a1227e4fba0a6234df7ce9af72229 to your computer and use it in GitHub Desktop.
This file contains 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
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
ProgressView(label: { | |
Button(action: {}, label: { | |
Text("Cancel") | |
.font(.subheadline) | |
.bold() | |
.padding(5) | |
.background(Color.blue) | |
.foregroundColor(.white) | |
.cornerRadius(5) | |
}) | |
.scaleEffect(0.5, anchor: .center) | |
}) | |
.scaleEffect(2, anchor: .center) | |
.progressViewStyle(CircularProgressViewStyle(tint: .blue)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment