@@ -23,29 +23,63 @@ export const ButtonSizeTest: React.FunctionComponent = () => {
23
23
style = { commonTestStyles . vmargin }
24
24
tooltip = "button tooltip"
25
25
/>
26
+ < Button
27
+ iconOnly
28
+ size = "small"
29
+ appearance = "primary"
30
+ icon = { iconProps }
31
+ accessibilityLabel = "Small size button with accessibility icon"
32
+ style = { commonTestStyles . vmargin }
33
+ tooltip = "button tooltip"
34
+ />
26
35
< Button
27
36
iconOnly
28
37
size = "medium"
29
38
icon = { iconProps }
30
39
accessibilityLabel = "Medium size button with accessibility icon"
31
40
style = { commonTestStyles . vmargin }
32
41
/>
42
+ < Button
43
+ iconOnly
44
+ size = "medium"
45
+ appearance = "primary"
46
+ icon = { iconProps }
47
+ accessibilityLabel = "Medium size button with accessibility icon"
48
+ style = { commonTestStyles . vmargin }
49
+ />
50
+ < Button
51
+ iconOnly
52
+ size = "large"
53
+ icon = { iconProps }
54
+ accessibilityLabel = "Large size button with accessibility icon"
55
+ style = { commonTestStyles . vmargin }
56
+ />
33
57
< Button
34
58
iconOnly
35
59
size = "large"
60
+ appearance = "primary"
36
61
icon = { iconProps }
37
62
accessibilityLabel = "Large size button with accessibility icon"
38
63
style = { commonTestStyles . vmargin }
39
64
/>
40
65
< Button size = "small" icon = { iconProps } style = { commonTestStyles . vmargin } >
41
66
Small Button with icon
42
67
</ Button >
68
+ < Button size = "small" appearance = "primary" icon = { iconProps } style = { commonTestStyles . vmargin } >
69
+ Small Button with icon
70
+ </ Button >
43
71
< Button size = "medium" icon = { iconProps } style = { commonTestStyles . vmargin } >
44
72
Medium Button with icon
45
73
</ Button >
74
+ < Button size = "medium" appearance = "primary" icon = { iconProps } style = { commonTestStyles . vmargin } >
75
+ Medium Button with icon
76
+ </ Button >
46
77
< Button size = "large" icon = { iconProps } style = { commonTestStyles . vmargin } >
47
78
Large Button with icon
48
79
</ Button >
80
+ < Button size = "large" appearance = "primary" icon = { iconProps } style = { commonTestStyles . vmargin } >
81
+ Large Button with icon
82
+ </ Button >
49
83
{ Platform . OS == 'android' && (
50
84
< FAB size = "small" icon = { iconProps } style = { commonTestStyles . vmargin } >
51
85
Small FAB
@@ -79,12 +113,21 @@ export const ButtonSizeTest: React.FunctionComponent = () => {
79
113
< CompoundButton secondaryContent = "Small compound button" size = "small" style = { commonTestStyles . vmargin } >
80
114
Compound Button
81
115
</ CompoundButton >
116
+ < CompoundButton appearance = "primary" secondaryContent = "Small compound button" size = "small" style = { commonTestStyles . vmargin } >
117
+ Compound Button
118
+ </ CompoundButton >
82
119
< CompoundButton secondaryContent = "Medium compound button" size = "medium" style = { commonTestStyles . vmargin } >
83
120
Compound Button
84
121
</ CompoundButton >
122
+ < CompoundButton appearance = "primary" secondaryContent = "Medium compound button" size = "medium" style = { commonTestStyles . vmargin } >
123
+ Compound Button
124
+ </ CompoundButton >
85
125
< CompoundButton secondaryContent = "Large compound button" size = "large" style = { commonTestStyles . vmargin } >
86
126
Compound Button
87
127
</ CompoundButton >
128
+ < CompoundButton appearance = "primary" secondaryContent = "Large compound button" size = "large" style = { commonTestStyles . vmargin } >
129
+ Compound Button
130
+ </ CompoundButton >
88
131
{ svgIconsEnabled && (
89
132
< >
90
133
< CompoundButton icon = { iconProps } secondaryContent = "SecondaryContent" size = "small" style = { commonTestStyles . vmargin } >
0 commit comments