From f4c3b6f1cd2f3e2aa41aedef4581c2fbe67243d1 Mon Sep 17 00:00:00 2001 From: Antoine BERNIER Date: Fri, 13 Dec 2024 09:49:35 +0100 Subject: [PATCH] docs: Update resize.mdx --- docs/staging/resize.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/staging/resize.mdx b/docs/staging/resize.mdx index b23bb5b7b..1dc225b0b 100644 --- a/docs/staging/resize.mdx +++ b/docs/staging/resize.mdx @@ -6,7 +6,9 @@ sourcecode: src/core/Resize.tsx [![](https://img.shields.io/badge/-storybook-%23ff69b4)](https://drei.pmnd.rs/?path=/story/staging-resize) - +
  • + +
  • Calculates a boundary box and scales its children so the highest dimension is constrained by 1. NB: proportions are preserved.