Skip to content

Commit

Permalink
fix(Tile): do not default to SVGImage to true otherwise it doesn't wo…
Browse files Browse the repository at this point in the history
…rk with standard svg
  • Loading branch information
carolineBda committed Oct 15, 2024
1 parent 57fc8b1 commit f975361
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Tile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const Tile = memo(
imageAlt,
imageWidth,
imageHeight,
imageSvg = true,
imageSvg,
orientation = "vertical",
small = false,
noBorder = false,
Expand Down
5 changes: 3 additions & 2 deletions stories/Tile.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ const { meta, getStory } = getStoryFactory({
}
},
"imageSvg": {
"description": "Set to true if the image is a SVG.",
"defaultValue": true,
"description":
"Set to true if the image is type of SVG [Pictogramme DSFR](https://www.systeme-de-design.gouv.fr/fondamentaux/pictogramme/) compliant.",
"defaultValue": false,
"control": {
"type": "boolean"
},
Expand Down

0 comments on commit f975361

Please sign in to comment.