Files
react-test/docs/data/system/flexbox/FlexShrink.tsx.preview

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
227 B
Plaintext
Raw Normal View History

2025-12-12 14:26:25 +09:00
<Box
sx={{ display: 'flex', p: 1, bgcolor: 'background.paper', borderRadius: 1 }}
>
<Item sx={{ width: '100%' }}>Item 1</Item>
<Item sx={{ flexShrink: 1 }}>Item 2</Item>
<Item sx={{ flexShrink: 0 }}>Item 3</Item>
</Box>