diff options
author | Ben <31181527+benedom@users.noreply.github.com> | 2024-01-26 15:33:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 15:33:41 +0100 |
commit | 74bf9219d718ee1b47a2cde7d235ac3f73992df9 (patch) | |
tree | bee70f28097261f833a52f47d15ce9bf82f918bf /Demo/SwiftyCropDemo/LongText.swift | |
parent | f8cfea0bf31c889d431678fea0f86e39e2819761 (diff) | |
parent | 9d895fbac4c7c653a883969ac3520f1847d299e8 (diff) |
Merge pull request #3 from leoz/master
Add demo app
Diffstat (limited to 'Demo/SwiftyCropDemo/LongText.swift')
-rw-r--r-- | Demo/SwiftyCropDemo/LongText.swift | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Demo/SwiftyCropDemo/LongText.swift b/Demo/SwiftyCropDemo/LongText.swift new file mode 100644 index 0000000..77e211a --- /dev/null +++ b/Demo/SwiftyCropDemo/LongText.swift @@ -0,0 +1,21 @@ +// +// LongText.swift +// SwiftyCropDemo +// +// Created by Leonid Zolotarev on 1/24/24. +// + +import SwiftUI + +struct LongText: View { + let title: String + + var body: some View { + Text(title) + .frame(maxWidth: .infinity) + } +} + +#Preview { + LongText(title: "title") +} |