Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/NuPlay/LinkPreview
Browse files Browse the repository at this point in the history
  • Loading branch information
NuPlay committed Dec 8, 2021
2 parents 9a854b5 + e66bd6a commit 14ed9e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ struct LinkPreview_Test: View {
LinkPreview(url: URL(string: "https://github.com/NuPlay/ExpandableText"))
.titleLineLimit(20)
.frame(width: size, alignment: .center)
.type(.small)

LinkPreview(url: URL(string: "https://github.com/NuPlay/SwiftUI-SlideText"))
}
Expand All @@ -65,3 +66,4 @@ Modifier | Default
`.primaryFontColor(_ primaryFontColor: Color)` | `.primary`
`.secondaryFontColor(_ secondaryFontColor: Color)` | `.gray`
`.titleLineLimit(_ titleLineLimit: Int)` | `3`
`.type(_ type: LinkPreviewType(customType[.large, .small, .auto]))` | `.auto`

0 comments on commit 14ed9e5

Please sign in to comment.