26 lines
561 B
Swift
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
|
|
}
|
|
}
|
|
}
|