removed hardcoded strings

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-04-15 13:07:03 -05:00
parent be14df768a
commit 6adca04f5e

View File

@ -74,11 +74,11 @@ open class BadgeIndicator: View {
/// Enum type describing size of Badge Indicator.
public enum Size: String, CaseIterable {
case xxlarge = "2XLarge"
case xlarge = "XLarge"
case large = "Large"
case medium = "Medium"
case small = "Small"
case xxlarge
case xlarge
case large
case medium
case small
/// Dynamic TextStyle for the size.
public var textStyle: TextStyle {