Created
August 7, 2020 22:32
-
-
Save azamsharp/2b30c7f32853f344cd226f12db3a4cfd 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
struct CreditCard<Content>: View where Content: View { | |
var content: () -> Content | |
var body: some View { | |
content() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment