Skip to main content

Flex Shrink

Control how elements shrink when space is limited.

Import

src/screens/Component.js
import { flex } from "nativeflowcss";

Properties

ObjectNative properties
flex.shrink{ flexShrink: 1 }
flex.shrink_0{ flexShrink: 0 }