Now we will hide the text of the buttons. You need to hide it with one property for all screens at once.
Next, let’s add icons for buttons. For icons, use the component components/ TabBarIcon
.
Pay attention, he needs to pass two properties - focused
and routeName
.
This task is part of the Full-Stack JavaScript Course.
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.