vds_ios/VDS/Components/Calendar/CalendarIndicatorModel.swift
Matt Bruce aa013f62e3 added equatable to structs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-08-26 09:03:17 -05:00

26 lines
561 B
Swift

//
// CalendarIndicatorModel.swift
// VDS
//
// Created by Kanamarlapudi, Vasavi on 26/04/24.
//
import Foundation
/// Custom data type for indicators prop
extension CalendarBase {
public struct CalendarIndicatorModel: Equatable {
/// Text that shown to an indicator for legend
public var label: String
/// Date to an indicator
public var date: Date
public init(label: String, date: Date) {
self.label = label
self.date = date
}
}
}