diff --git a/MVMCoreUI/Atomic/Atoms/Views/WebViewModel.swift b/MVMCoreUI/Atomic/Atoms/Views/WebViewModel.swift index 7e70d0f0..3e8d4340 100644 --- a/MVMCoreUI/Atomic/Atoms/Views/WebViewModel.swift +++ b/MVMCoreUI/Atomic/Atoms/Views/WebViewModel.swift @@ -16,6 +16,10 @@ import Foundation public var htmlString: String? public var height: CGFloat? public var borderColor: Color? + + public init(htmlString: String) { + self.htmlString = htmlString + } private enum CodingKeys: String, CodingKey{ case moleculeName