Pregunta de entrevista de Coinbase

How to design a common component?