You’ve been asked to improve consistency and development speed across the rider and driver mobile apps by creating a reusable component library. The goal is to reduce duplicated UI patterns, make interfaces between feature modules clearer, and give teams a safer way to ship shared changes without breaking app-specific behavior.
How would you design a reusable mobile component library with clear interfaces between modules?