Using react

Switched the button to a react component