Skip to content

Commit

Permalink
docs: Update resize.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier authored Dec 13, 2024
1 parent 262bfab commit f4c3b6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/staging/resize.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ sourcecode: src/core/Resize.tsx
[![](https://img.shields.io/badge/-storybook-%23ff69b4)](https://drei.pmnd.rs/?path=/story/staging-resize)

<Grid cols={4}>
<Codesandbox id="6yg0i3" />
<li>
<Codesandbox id="6yg0i3" />
</li>
</Grid>

Calculates a boundary box and scales its children so the highest dimension is constrained by 1. NB: proportions are preserved.
Expand Down

0 comments on commit f4c3b6f

Please sign in to comment.