view LazyBear/Styles/PriceViewStyle.swift @ 398:933546fa5651

Implementing CompanyView
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Sun, 09 May 2021 00:07:44 +0200
parents
children 2984d8946342
line wrap: on
line source

//
//  PriceViewStyle.swift
//  LazyBear
//
//  Created by Dennis Concepción Martín on 8/5/21.
//

import SwiftUI

class PriceViewStyle {
    var alignment: HorizontalAlignment
    var priceFont: Font
    var priceFontWeight: Font.Weight
    var percentFont: Font
    var percentFontWeight: Font.Weight
    
    init(alignment: HorizontalAlignment, priceFont: Font, priceFontWeight: Font.Weight, percentFont: Font, percentFontWeight: Font.Weight) {
        self.alignment = alignment
        self.priceFont = priceFont
        self.priceFontWeight = priceFontWeight
        self.percentFont = percentFont
        self.percentFontWeight = percentFontWeight
    }
}