Well-defined props make components predictable and reusable.
Good prop design:
- Minimal required props
- Sensible defaults
- Clear naming
- Consistent types
Example:
// Good: Clear, minimal
<Button variant="primary" onClick={handleClick}>
Submit
</Button>
// Bad: Too many required props
<Button color="blue" hoverColor="darkblue"
fontSize={14} padding={10} onClick={...}>
Interview tip: When designing components, state the props explicitly. It shows you think about reusability.