Created
May 29, 2021 18:35
-
-
Save iosdevie/26ce254dde2bada64f71a5203ddb198c 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
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