24 lines
691 B
Swift
24 lines
691 B
Swift
//
|
|
// ListUnorderedItemModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Vasavi Kanamarlapudi on 16/10/24.
|
|
//
|
|
|
|
import Foundation
|
|
extension ListUnordered {
|
|
public struct ListUnorderedItemModel: Equatable {
|
|
|
|
/// Item Level 1 that shows text with glyph - disc, bold.
|
|
public var itemLevelOneText: String
|
|
|
|
/// Item Level 2 that shows text (one or many) with glyph - en dash. This is optional.
|
|
public var itemLevelTwoText: [String]
|
|
|
|
public init(itemLevelOneText: String, itemLevelTwoTexts: [String]? = nil) {
|
|
self.itemLevelOneText = itemLevelOneText
|
|
self.itemLevelTwoText = itemLevelTwoTexts ?? []
|
|
}
|
|
}
|
|
}
|