Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@iosdevie
Created May 29, 2021 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iosdevie/26ce254dde2bada64f71a5203ddb198c to your computer and use it in GitHub Desktop.
Save iosdevie/26ce254dde2bada64f71a5203ddb198c to your computer and use it in GitHub Desktop.
import LinkPresentation
struct ContentView: View {
@State var redrawPreview = false
let links : [StringLink] = [] //add your url links here
var body: some View {
List(links){ l in
LinkRow(previewURL: URL(string: l.string)!, redraw: self.$redrawPreview)
}
.environment(\.defaultMinListRowHeight, 200)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment