What are props in React?
- A component's children
- A component's internal data
- A component's methods
- A component's properties
In React, props (short for "properties") are a component's input data that are passed down from a parent component. Props are read-only and cannot be changed by the child component. Props are used to customize the behavior and appearance of a component.
Loading...