Let’s add the
This component must return the
The styles for this component must be an array of styles.
The first element of the array must contain a
padding style of 3.
The second element in the array is the passed
style property, which is an empty object by default.
The onPress property of the component must be forwarded to
TouchableOpacity add the
Icon component. Pass the
color properties into it.
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.