File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,13 @@ export type TileProps = {
23
23
start ?: ReactNode ;
24
24
imageUrl ?: string ;
25
25
imageAlt ?: string ;
26
+ /**
27
+ * @deprecated imageWidth has no effect
28
+ */
26
29
imageWidth ?: string | number ;
30
+ /**
31
+ * @deprecated imageHeight has no effect
32
+ */
27
33
imageHeight ?: string | number ;
28
34
imageSvg ?: boolean ;
29
35
grey ?: boolean ;
@@ -42,7 +48,8 @@ export type TileProps = {
42
48
| "detail"
43
49
| "start"
44
50
| "img"
45
- | "imgTag" ,
51
+ | "imgTag"
52
+ | "artwork" ,
46
53
string
47
54
>
48
55
> ;
@@ -186,7 +193,7 @@ export const Tile = memo(
186
193
< div className = { cx ( fr . cx ( "fr-tile__pictogram" ) , classes . img ) } >
187
194
< svg
188
195
aria-hidden = { true }
189
- className = { fr . cx ( "fr-artwork" ) }
196
+ className = { cx ( fr . cx ( "fr-artwork" ) , classes . artwork ) }
190
197
viewBox = "0 0 80 80"
191
198
width = "80px"
192
199
height = "80px"
You can’t perform that action at this time.
0 commit comments