-
-
Save laevandus/661d333fc87acd18cc119b7407b08371 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 RatingsView_Previews: PreviewProvider { | |
static var previews: some View { | |
VStack { | |
let steps = Array(stride(from: 0.0, through: 5.0, by: 0.5)) | |
ForEach(steps, id: \.self) { value in | |
RatingsView(value: value) | |
} | |
} | |
.previewLayout(.sizeThatFits) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment