Coinbase Interview Question

How to design a common component?