27 lines
615 B
Swift
27 lines
615 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 {
|
|
|
|
/// Button icon property 'kind' is supported
|
|
public var kind: ButtonIcon.Kind
|
|
|
|
/// Button icon property 'floating' is supported
|
|
public var floating: Bool
|
|
|
|
public init(kind: ButtonIcon.Kind, floating: Bool) {
|
|
self.kind = kind
|
|
self.floating = floating
|
|
}
|
|
}
|
|
}
|