File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -73,3 +73,9 @@ $block: '.#{$ns}image-card';
73
73
}
74
74
}
75
75
}
76
+
77
+ a #{$block } {
78
+ @include reset-link-style ();
79
+ @include reset-link-hover ();
80
+ @include card ($hover : true);
81
+ }
Original file line number Diff line number Diff line change @@ -158,12 +158,14 @@ export const Margins = MultipleTemplate.bind({});
158
158
export const DirectionReverse = MultipleTemplate . bind ( { } ) ;
159
159
export const Content = ContentTemplate . bind ( { } ) ;
160
160
export const BackgroundColor = MultipleTemplate . bind ( { } ) ;
161
+ export const WithUrl = MultipleTemplate . bind ( { } ) ;
161
162
export const Border = BorderTemplate . bind ( { } ) ;
162
163
export const BorderRadius = BorderRadiusTemplate . bind ( { } ) ;
163
164
export const ControlPosition = ControlPositionTemplate . bind ( { } ) ;
164
165
165
166
DirectionReverse . args = { direction : 'reverse' } as Partial < ImageCardProps > ;
166
167
BackgroundColor . args = { ...data . backgroundColor . content } ;
168
+ WithUrl . args = { ...data . withUrl . content } ;
167
169
ControlPosition . args = undefined ;
168
170
ControlPosition . argTypes = {
169
171
title : { table : { disable : true } } ,
Original file line number Diff line number Diff line change 48
48
"backgroundColor" : " #ccf0d2"
49
49
}
50
50
},
51
+ "withUrl" : {
52
+ "content" : {
53
+ "url" : " https://example.com"
54
+ }
55
+ },
51
56
"content" : {
52
57
"url" : " https://example.com" ,
53
58
"links" : [
You can’t perform that action at this time.
0 commit comments