Skip to content

Commit

Permalink
[joy-ui][AspectRatio] Correct ratio prop description (mui#38743)
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 authored and mnajdova committed Sep 8, 2023
1 parent 7acf90e commit 77451a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/joy/components/aspect-ratio/aspect-ratio.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Note that you lose the global variants when you add custom variants.

### Ratio

Use the `ratio` prop to change the aspect ratio, following the pattern `height/width`.
Use the `ratio` prop to change the aspect ratio, following the pattern `width/height`.
For example, the demo below uses a ratio of `4/3`, which is a common alternative to the default `16/9`:

{{"demo": "CustomRatio.js"}}
Expand Down

0 comments on commit 77451a6

Please sign in to comment.