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 = {
2323 start ?: ReactNode ;
2424 imageUrl ?: string ;
2525 imageAlt ?: string ;
26+ /**
27+ * @deprecated imageWidth has no effect
28+ */
2629 imageWidth ?: string | number ;
30+ /**
31+ * @deprecated imageHeight has no effect
32+ */
2733 imageHeight ?: string | number ;
2834 imageSvg ?: boolean ;
2935 grey ?: boolean ;
@@ -42,7 +48,8 @@ export type TileProps = {
4248 | "detail"
4349 | "start"
4450 | "img"
45- | "imgTag" ,
51+ | "imgTag"
52+ | "artwork" ,
4653 string
4754 >
4855 > ;
@@ -186,7 +193,7 @@ export const Tile = memo(
186193 < div className = { cx ( fr . cx ( "fr-tile__pictogram" ) , classes . img ) } >
187194 < svg
188195 aria-hidden = { true }
189- className = { fr . cx ( "fr-artwork" ) }
196+ className = { cx ( fr . cx ( "fr-artwork" ) , classes . artwork ) }
190197 viewBox = "0 0 80 80"
191198 width = "80px"
192199 height = "80px"
You can’t perform that action at this time.
0 commit comments