From 32e69c242b9f15f8dc986df44cd0d169389b69c8 Mon Sep 17 00:00:00 2001 From: "Suresh, Kamlesh" Date: Thu, 20 Aug 2020 19:06:41 -0400 Subject: [PATCH] init --- MVMCoreUI/Atomic/Atoms/Views/WebViewModel.swift | 4 ++++ 1 file changed, 4 insertions(+) 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