From 77451a612c1cf09f7f4ec39b6de1178845cdb419 Mon Sep 17 00:00:00 2001 From: sai chand <60743144+sai6855@users.noreply.github.com> Date: Thu, 31 Aug 2023 20:06:48 +0530 Subject: [PATCH] [joy-ui][AspectRatio] Correct `ratio` prop description (#38743) --- docs/data/joy/components/aspect-ratio/aspect-ratio.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/joy/components/aspect-ratio/aspect-ratio.md b/docs/data/joy/components/aspect-ratio/aspect-ratio.md index 34100ef498a493..963cf765b433f9 100644 --- a/docs/data/joy/components/aspect-ratio/aspect-ratio.md +++ b/docs/data/joy/components/aspect-ratio/aspect-ratio.md @@ -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"}}