We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
POSButtonVariant
1 parent 678fc34 commit b9d755eCopy full SHA for b9d755e
WooCommerce/Classes/POS/Presentation/Reusable Views/Buttons/POSButtonStyle.swift
@@ -1,11 +1,5 @@
1
import SwiftUI
2
3
-/// The visual variant of the POS button.
4
-enum POSButtonVariant {
5
- case filled
6
- case outlined
7
-}
8
-
9
/// The size variant of the POS button.
10
enum POSButtonSize {
11
case normal
@@ -40,6 +34,12 @@ struct POSOutlinedButtonStyle: ButtonStyle {
40
34
}
41
35
42
36
37
+/// The visual variant of the POS button.
38
+fileprivate enum POSButtonVariant {
39
+ case filled
+ case outlined
+}
+
43
private struct POSButton: View {
44
@Environment(\.isEnabled) var isEnabled
45
0 commit comments