File tree 2 files changed +13
-0
lines changed
components/alertdialog/stories 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -184,3 +184,12 @@ Scroll.args = {
184
184
Scroll . parameters = {
185
185
chromatic : { disableSnapshot : true } ,
186
186
} ;
187
+
188
+ export const VerticalButtons = Template . bind ( { } ) ;
189
+ VerticalButtons . tags = [ "!dev" ] ;
190
+ VerticalButtons . args = {
191
+ buttonsAreVertical : true ,
192
+ isOpen : true ,
193
+ heading : "Vertical button group" ,
194
+ content : "This is what an alert dialog looks like with buttons arranged vertically." ,
195
+ } ;
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ export const AlertDialogGroup = Variants({
12
12
"min-block-size" : "auto" ,
13
13
} ,
14
14
testData : [ { } , {
15
+ heading : "Vertical button group" ,
16
+ content : "This is what an alert dialog looks like with buttons arranged vertically." ,
17
+ buttonsAreVertical : true ,
18
+ } , {
15
19
variant : "warning" ,
16
20
heading : "Unverified format" ,
17
21
content : "This format has not been verified and may not be viewable for some users. Do you want to continue publishing?" ,
You can’t perform that action at this time.
0 commit comments