vds_ios/VDS/Components/Toggle/VDSToggleModel.swift
Matt Bruce 6c0a0460e8 updated toggle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-28 18:07:16 -05:00

31 lines
623 B
Swift

//
// ToggleModel.swift
// VDS
//
// Created by Matt Bruce on 7/22/22.
//
import Foundation
import UIKit
extension VDSToggle {
public enum TextPosition: String, Codable {
case left, right
}
}
public protocol VDSToggleModel: VDSLabelModel, FormFieldable, DataTrackable, Disabling, Accessable {
var id: String? { get set }
var showText: Bool { get set }
var on: Bool { get set }
var offText: String { get set }
var onText: String { get set }
}
extension VDSToggleModel {
public var fontCategory: VDSFontCategory {
get { return .body }
set { return }
}
}