feat: Adds text labeled content and style.

This commit is contained in:
2024-06-11 16:31:59 -04:00
parent c6c45ffa7e
commit da8a8638c7
8 changed files with 144 additions and 77 deletions

View File

@@ -49,11 +49,7 @@ public struct DefaultInfoButtonStyle<Style: LabelStyle>: PrimitiveButtonStyle {
.foregroundStyle(color)
.labelStyle(labelStyle)
}
// configuration.label
// .font(font)
// .foregroundStyle(color.opacity(configuration.isPressed ? 0.5 : 1))
// .labelStyle(labelStyle)
// .scaleEffect(configuration.isPressed ? 0.8 : 1)
.buttonStyle(.plain)
}
}