Flex

플렉스박스 레이아웃을 쉽게 구현할 수 있는 컨테이너 컴포넌트입니다. Box 컴포넌트를 확장하여 플렉스 관련 기능을 제공합니다.

Examples


Direction

플렉스 컨테이너의 주축 방향을 설정하여 항목들의 배치 방향을 제어할 수 있습니다.

Props Table


Flex

Container that lays out its children with flexbox. Use for one-dimensional layouts that need custom direction, alignment, or spacing. Renders a <div> element.

PropDefaultType
className?
-
stringfunction
inline?
-
boolean
style?
-
React.CSSPropertiesfunction
render?
-
ReactElementfunction

On this page