Flex
| Atomic Props | CSS Properties |
|---|---|
| flexAuto | flex: 1 1 auto; |
| flexInitial | flex: 0 1 auto; |
| flexNone | flex: 'none' |
| flex={value} | flex: {value} |
Flex Initial
Use flexInitial props to allow a flex item to shrink but not grow, taking into account its initial size.
Result
Loading...
Live Editor
Result
Loading...
Live Editor
Flex None
Use flexNone props to prevent a flex item from growing or shrinking.
Result
Loading...
Live Editor
Any Value
Use flex={value} to set any flex value.
Result
Loading...
Live Editor