aboutsummaryrefslogtreecommitdiff
path: root/Sources/NorgUI/Views/Blocks/ParagraphView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sources/NorgUI/Views/Blocks/ParagraphView.swift')
-rw-r--r--Sources/NorgUI/Views/Blocks/ParagraphView.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/Sources/NorgUI/Views/Blocks/ParagraphView.swift b/Sources/NorgUI/Views/Blocks/ParagraphView.swift
index 2ad0dd5..d117ccc 100644
--- a/Sources/NorgUI/Views/Blocks/ParagraphView.swift
+++ b/Sources/NorgUI/Views/Blocks/ParagraphView.swift
@@ -2,11 +2,9 @@ import NorgKit
import SwiftUI
struct ParagraphView: View {
- @Environment(\.norgTheme) private var theme
-
let content: [InlineSpan]
var body: some View {
- Text(AttributedString(norg: content, theme: theme))
+ NorgInlineText(spans: content)
}
}