File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ const options: ActionMenuProps['options'] = [
55
55
label : 'Label 1' ,
56
56
startIcon : {
57
57
name : 'ic-cube' ,
58
- color : 'N800' ,
59
58
} ,
60
59
} ,
61
60
] ,
@@ -68,7 +67,6 @@ const options: ActionMenuProps['options'] = [
68
67
label : 'Group Label 1' ,
69
68
startIcon : {
70
69
name : 'ic-cube' ,
71
- color : 'N800' ,
72
70
} ,
73
71
isDisabled : true ,
74
72
} ,
@@ -93,11 +91,9 @@ const options: ActionMenuProps['options'] = [
93
91
id : 'group-value-5' ,
94
92
startIcon : {
95
93
name : 'ic-cube' ,
96
- color : 'N800' ,
97
94
} ,
98
95
endIcon : {
99
96
name : 'ic-cube' ,
100
- color : 'N800' ,
101
97
} ,
102
98
tooltipProps : {
103
99
content : 'Tooltip content for value 5' ,
@@ -130,11 +126,9 @@ const options: ActionMenuProps['options'] = [
130
126
id : 'value-5' ,
131
127
startIcon : {
132
128
name : 'ic-cube' ,
133
- color : 'N800' ,
134
129
} ,
135
130
endIcon : {
136
131
name : 'ic-cube' ,
137
- color : 'N800' ,
138
132
} ,
139
133
tooltipProps : {
140
134
content : 'Tooltip content for value 5' ,
@@ -179,3 +173,23 @@ export const WithIconButtonElement: Story = {
179
173
} ,
180
174
} ,
181
175
}
176
+
177
+ export const WithFooterConfig : Story = {
178
+ args : {
179
+ id : 'action-menu-with-button' ,
180
+ options,
181
+ position : 'bottom' ,
182
+ alignment : 'start' ,
183
+ disableDescriptionEllipsis : false ,
184
+ onClick : action ( 'option clicked' ) ,
185
+ isSearchable : true ,
186
+ buttonProps : {
187
+ text : 'Open Action Menu' ,
188
+ dataTestId : 'action-menu' ,
189
+ } ,
190
+ footerConfig : {
191
+ type : 'text' ,
192
+ value : 'This is footer' ,
193
+ } ,
194
+ } ,
195
+ }
You can’t perform that action at this time.
0 commit comments