Payoneer Interview Question

How would you make a reusable React component