Paintzen interview question

Make a react component