React Native Default Custom Props
React Native Default Custom Props
The properties of React Native components are simply pronounced as props. In React
Native, most of the components can be customized at the time of their creation with
different parameters. These parameters are known as props. They are immutable, and
they cannot be changed.
Output:
For example, one of the basic React Native components is Text. When we create a Text
component, we can use a prop "name" as props to control its appearance. We also
apply the StyleSheet to the component which is used as our component.
App.js
Output: