23 lines
477 B
Swift
23 lines
477 B
Swift
//
|
|
// DropdownOptionModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Kanamarlapudi, Vasavi on 03/04/24.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension DropdownSelect {
|
|
public struct DropdownOptionModel: Equatable {
|
|
|
|
/// Text that goes as option to DropdownSelect
|
|
public var text: String
|
|
public var value: String
|
|
|
|
public init(text: String, value: String? = nil) {
|
|
self.text = text
|
|
self.value = value ?? text
|
|
}
|
|
}
|
|
}
|