// // CarouselRenderItemStyle.swift // VDS // // Created by Kanamarlapudi, Vasavi on 30/06/24. // import Foundation import UIKit import VDSCoreTokens /// A custom data type that holds the style props if provided any. public struct CarouselRenderItemStyle { /// BackgroundColor for slot public let backgroundColor: String? /// Height for slot public var height: CGFloat? /// BorderRadius for slot public var borderRadius: CGFloat? /// Width for slot public var width: CGFloat? public init(backgroundColor: String?, height: CGFloat?, width: CGFloat?, borderRadius: CGFloat?) { self.backgroundColor = backgroundColor self.height = height self.borderRadius = borderRadius ?? 12.0 self.width = width } }