In the ground since Wed Oct 01 2025
Last watered inWed Oct 01 2025
Lorem ipsum dolor sit amet consectetur adipisicing elit. Assumenda officiis adipisci veniam earum nihil cumque fugiat reiciendis nam maiores doloremque, voluptatum quisquam eveniet vel itaque libero amet sit. Nihil, aperiam.
Component to group, position multiple elements
We have two types of buttons:
Simple component to detect a press
Lorem ipsum dolor sit amet consectetur adipisicing elit. Assumenda officiis adipisci veniam earum nihil cumque fugiat reiciendis nam maiores doloremque, voluptatum quisquam eveniet vel itaque libero amet sit. Nihil, aperiam.
Blockquote
Blockquote blockquote oluptatum quisquam eveniet vel itaque libero amet sit. Nihil, aperiam. oluptatum quisquam eveniet vel itaque libero amet sit. Nihil, aperiam.
Callout
Key prop is a required prop for FlatList. It's used to identify the item in the list. If we don't provide a key prop, React Native will drop all the items and re-render them, which is not efficient.
We can add margin for a axis:
We can define the direction of the items with a prop called horizontal or vertical
We can add scroll indicators with a prop called showsHorizontalScrollIndicator or showsVerticalScrollIndicator
We can define the layout of the items with a prop called itemLayout