in React JS by
Flexbox Layout in React Native

▼ Show 1 Answer

0 votes
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.
React JS
Learn More with Madanswer

Related questions

0 votes
asked May 20, 2020 in React JS by GeorgeBell