Flex Shrink
Atomic props for controlling how flex items shrink.
Atomic Props | CSS Properties |
---|---|
flexShrink={value} | flex-shrink: {value} |
Shrink
Use flexShrink={1}
to allow a flex item to shrink if needed.
Result
Loading...
Live Editor
Don't shrink
Use flexShrink={0}
to prevent a flex item from shrinking.
Result
Loading...
Live Editor