From 0c38214d3ce5b24352e0fcea53765118d66a76d9 Mon Sep 17 00:00:00 2001 From: leoz Date: Wed, 24 Jan 2024 18:36:52 -0500 Subject: Add demo app --- Demo/SwiftyCropDemo/LongText.swift | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Demo/SwiftyCropDemo/LongText.swift (limited to 'Demo/SwiftyCropDemo/LongText.swift') 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") +} -- cgit v1.2.3