27 lines
631 B
Swift
27 lines
631 B
Swift
//
|
|
// CarouselPaginationModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Kanamarlapudi, Vasavi on 06/06/24.
|
|
//
|
|
|
|
import Foundation
|
|
import UIKit
|
|
|
|
/// Custom data type for pagination prop for 'Carousel' component.
|
|
extension Carousel {
|
|
public struct CarouselPaginationModel {
|
|
|
|
/// Pagination supports Button icon property 'kind'.
|
|
public var kind: ButtonIcon.Kind
|
|
|
|
/// Pagination supports Button icon property 'floating'.
|
|
public var floating: Bool
|
|
|
|
public init(kind: ButtonIcon.Kind, floating: Bool) {
|
|
self.kind = kind
|
|
self.floating = floating
|
|
}
|
|
}
|
|
}
|