vds_ios/VDS/Components/DropdownSelect/DropdownOptionModel.swift
Matt Bruce aa013f62e3 added equatable to structs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-08-26 09:03:17 -05:00

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
}
}
}