Flex-item
Flex Item
Flex 컴포넌트 내부에 들어가는 하나의 컴포넌트입니다.
import { FlexItem } from 'hae_on-layout-component';
Props
props | value | description |
---|---|---|
order? | number | FlexItem의 배치 순서를 지정합니다. |
grow? | CSSProperties['flexGrow'] | basis 값보다 커질 수 있도록 지정합니다. |
shrink? | CSSProperties['flexShrink'] | basis 값보다 작아질 수 있도록 지정합니다. |
basis? | CSSProperties['flexBasis'] | FlexItem의 기본 크기를 지정합니다. |
alignSelf? | CSSProperties['alignSelf'] | FlexItem의 수직축 방향 정렬을 지정합니다. |
children? | ReactNode | FlexItem의 자식 컴포넌트입니다. |
Example
결과
Loading...
라이브 에디터