Button components are very straightforward: you can declare a function and have the button call it when pressed.

Button components have a prop called state, which disables the button entirely when set to "disabled".