When a user kicks off an asynchronous action, the button should switch to a disabled loading state while the action is running. ## Notes - This could be used while a user is deleting a file, kicking off a rebuild, etc ## Acceptance Criteria - [ ] Takes a function prop for the action - [ ] Takes an loading boolean prop
When a user kicks off an asynchronous action, the button should switch to a disabled loading state while the action is running.
Notes
Acceptance Criteria