26 lines
623 B
Swift
26 lines
623 B
Swift
//
|
|
// CarouselSlotAlignmentModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Kanamarlapudi, Vasavi on 31/05/24.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
/// Custom data type for slotAlignment prop for 'Carousel' component.
|
|
extension Carousel {
|
|
public struct CarouselSlotAlignmentModel {
|
|
|
|
/// Text that shown to an indicator for legend
|
|
public var vertical: String
|
|
|
|
/// Date to an indicator
|
|
public var horizontal: String
|
|
|
|
public init(vertical: String, horizontal: String) {
|
|
self.vertical = vertical
|
|
self.horizontal = horizontal
|
|
}
|
|
}
|
|
}
|