Apollo.io interview question

Add a button using React that does some action