From 5e4554272f1262120a643efb39ccdb890ae592fe Mon Sep 17 00:00:00 2001 From: benedom <> Date: Tue, 16 Apr 2024 10:51:16 +0200 Subject: Adjusted demo application to include all configuration options --- Demo/SwiftyCropDemo/UIElements/LongText.swift | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Demo/SwiftyCropDemo/UIElements/LongText.swift (limited to 'Demo/SwiftyCropDemo/UIElements/LongText.swift') diff --git a/Demo/SwiftyCropDemo/UIElements/LongText.swift b/Demo/SwiftyCropDemo/UIElements/LongText.swift new file mode 100644 index 0000000..77e211a --- /dev/null +++ b/Demo/SwiftyCropDemo/UIElements/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") +} -- cgit v1.2.3