comparison 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
comparison
equal deleted inserted replaced
397:6f04495c462d 398:933546fa5651
1 //
2 // PriceViewStyle.swift
3 // LazyBear
4 //
5 // Created by Dennis Concepción Martín on 8/5/21.
6 //
7
8 import SwiftUI
9
10 class PriceViewStyle {
11 var alignment: HorizontalAlignment
12 var priceFont: Font
13 var priceFontWeight: Font.Weight
14 var percentFont: Font
15 var percentFontWeight: Font.Weight
16
17 init(alignment: HorizontalAlignment, priceFont: Font, priceFontWeight: Font.Weight, percentFont: Font, percentFontWeight: Font.Weight) {
18 self.alignment = alignment
19 self.priceFont = priceFont
20 self.priceFontWeight = priceFontWeight
21 self.percentFont = percentFont
22 self.percentFontWeight = percentFontWeight
23 }
24 }