FlashcardBeginner

Row layout: alignItems centres vertically

In a row layout, alignItems controls the cross axis, which is vertical, so 'center' centres children vertically.

Question

In flexDirection: 'row', what does alignItems: 'center' do to the children?

Click to reveal answer