From 663262a7a2b6a480fd8a6cf9c9bcd7a0cdc3c7fe Mon Sep 17 00:00:00 2001 From: LukasM01 Date: Thu, 20 Jun 2019 19:03:12 +0200 Subject: [PATCH] made FormattedText available as API --- Sources/SwiftUIFormattedText/SwiftUIFormattedText.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SwiftUIFormattedText/SwiftUIFormattedText.swift b/Sources/SwiftUIFormattedText/SwiftUIFormattedText.swift index ef4357c..cbe04f4 100644 --- a/Sources/SwiftUIFormattedText/SwiftUIFormattedText.swift +++ b/Sources/SwiftUIFormattedText/SwiftUIFormattedText.swift @@ -388,7 +388,7 @@ extension Tag { } @available(OSX 10.15, *) @available(iOS 13.0, *) -struct FormattedText : View { +public struct FormattedText : View { var formatted: String var renderedTag: some View { let result = Tag.parse(from: formatted).render()