Component - Default props
This React Native component shows how default props work. If a prop is not given, the component uses a default value to display text. This helps keep the UI consistent and avoids errors.
This React Native component shows how default props work. If a prop is not given, the component uses a default value to display text. This helps keep the UI consistent and avoids errors.
App
└── Greeting
└── Text