diff --git a/VDS/Components/TileContainer/TileContainer.swift b/VDS/Components/TileContainer/TileContainer.swift index edb369dd..b00d0388 100644 --- a/VDS/Components/TileContainer/TileContainer.swift +++ b/VDS/Components/TileContainer/TileContainer.swift @@ -15,7 +15,7 @@ import Combine open class TileContainer: TileContainerBase { /// Enum used to describe the padding choices used for this component. - public enum Padding: DefaultValuing { + public enum Padding: DefaultValuing, Valuing { case padding3X case padding4X case padding6X @@ -44,7 +44,7 @@ open class TileContainer: TileContainerBase { } } -open class TileContainerBase: View where PaddingType.ValueType == CGFloat { +open class TileContainerBase: View where PaddingType.ValueType == CGFloat { //-------------------------------------------------- // MARK: - Initializers diff --git a/VDS/Components/Tilelet/Tilelet.swift b/VDS/Components/Tilelet/Tilelet.swift index 263d6b77..86dd346a 100644 --- a/VDS/Components/Tilelet/Tilelet.swift +++ b/VDS/Components/Tilelet/Tilelet.swift @@ -20,7 +20,7 @@ import Combine open class Tilelet: TileContainerBase { /// Enum used to describe the padding choices used for this component. - public enum Padding: String, DefaultValuing, CaseIterable { + public enum Padding: String, DefaultValuing, Valuing, CaseIterable { case small case large