flexDirection control in a Flexbox layout?flexDirection sets the main axis direction for the layout. It decides if items are placed in a row (horizontally) or a column (vertically).
justifyContent in Flexbox.justifyContent aligns children along the main axis (the direction set by flexDirection). It controls how space is distributed between and around items.
alignItems in Flexbox?alignItems aligns children along the cross axis (perpendicular to the main axis). It controls vertical or horizontal alignment depending on flexDirection.
flexDirection is row, which axis does justifyContent affect?It affects the horizontal axis, arranging items left to right or with space between them horizontally.
alignItems: center affect children in a Flexbox with flexDirection: column?It centers children horizontally because the cross axis is horizontal when the main axis is vertical.
flexDirection?The default flexDirection in React Native is column, meaning items stack vertically by default.
justifyContent value places items at the end of the main axis?flex-end aligns items to the end of the main axis.
alignItems: stretch do by default?stretch makes children expand to fill the cross axis space.
flexDirection is row, which axis is the cross axis?When main axis is horizontal (row), cross axis is vertical.
justifyContent manages spacing along the main axis.
flexDirection, justifyContent, and alignItems work together in a React Native Flexbox layout.flexDirection: row, justifyContent: space-between, and alignItems: center in a React Native Flexbox container.