Helper struct
to enable landscape in preview.
Landscape {
ContentView()
.previewDevice("iPhone Xʀ")
.landscape()
}
Helper struct
to enable both light and dark modes in preview.
LightAndDark {
ContentView()
.previewDevice("iPhone Xʀ")
}