Props and Reusable Components | React Native App

preview_player
Показать описание
Reusable components using props in react

In this article we'll learn how to work with props and build reusable components in React.

What Are Props in React?

Props is short for properties. They represent information you want to pass down to a specific component so that component can reuse that info.
Information you can pass down as props ranges from className to height, width, and much more. This makes it so easy to create reusable items such as buttons, cards, input elements, and so on.
Рекомендации по теме