Created
June 29, 2019 17:02
-
-
Save seankovacs/6c6728f10697f74401badfb3ba1f2f0c 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
struct FixedSpacer: View { | |
var length: Length | |
var body: some View { | |
Spacer() | |
.frame(minHeight: 0, maxHeight: length) | |
} | |
init(_ length: Length = 0) { | |
self.length = length | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment