// // CalendarReusableView.swift // VDS // // Created by Kanamarlapudi, Vasavi on 24/04/24. // import UIKit import VDSTokens /// Custom footer view class CalendarFooterReusableView: UICollectionReusableView { ///Identifier for the Calendar Footer Reusable View static let identifier: String = String(describing: CalendarFooterReusableView.self) private lazy var footerView = CalendarFooterView() override init(frame: CGRect) { super.init(frame: frame) } required init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") } func configure(with surface: Surface, indicators: [CalendarBase.CalendarIndicatorModel]) { footerView.items = indicators footerView.surface = surface addSubview(footerView) } }