Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
simonihmig committed Dec 27, 2024
1 parent c281061 commit fec0c61
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/red-clocks-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@responsive-image/cdn': minor
---

Add aspectRatio option

Provider functions for image CDNs support an `aspectRatio` parameter to set the aspect ratio of the remote image, allowing the image component to render proper `width` and `height` attributes to prevent layout shift.

0 comments on commit fec0c61

Please sign in to comment.