Created
June 24, 2021 22:54
-
-
Save o-nnerb/3e6300ad6013dfdfd852fb23d61272ff to your computer and use it in GitHub Desktop.
Spacing contains a generic Number type
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
public struct Spacing<Number: Numeric> { | |
public var small: Number { | |
32 | |
} | |
public var medium: Number { | |
64 | |
} | |
public var large: Number { | |
128 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment