0 votes
in ReactJS by
Flexbox Layout in React Native

1 Answer

0 votes
by
Flexbox Layout

Flexbox provides a consistent layout on different screen sizes. It uses flexDirection,alignItems, and justifyContent to achieve the right layout.

  • FlexDirection used to align elements vertical / horizontal. Values are column and row.
  • justifyContent determines how elements are distributed inside a container. Values are center,flex-start,flex-end,space-around, and space-between.
  • alignItems determines how elements are distributed inside a container along the secondary axis. Values are centerflex-start,flex-end, and stretched.

Related questions

+1 vote
asked May 29, 2020 in ReactJS by anonymous
0 votes
asked May 21, 2020 in ReactJS by GeorgeBell
...