Skip to content

Instantly share code, notes, and snippets.

@drumnkyle
Last active February 18, 2020 02:08
Show Gist options
  • Save drumnkyle/8da86fa3ae4972c14a1ac833a02e3e52 to your computer and use it in GitHub Desktop.
Save drumnkyle/8da86fa3ae4972c14a1ac833a02e3e52 to your computer and use it in GitHub Desktop.
Multiple Previews
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
Group {
ContentView()
.environment(\.sizeCategory,
.accessibilityLarge)
ContentView()
.environment(\.sizeCategory,
.accessibilityExtraExtraLarge)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment