Components

LoadableButton

<LoadableButton />

Constructor

# <LoadableButton />

A button with a text label that can be changed to a loading state to indicate that an action is awaiting a response. Can also be disabled to prevent further interaction. Good for something that'll trigger a process that may not respond instantly.

LoadableButton example:

<LoadableButton onClick={this.onClickReconcile} loading={this.state.reconciling} label="Reconcile" disabled={this.state.reconciling} />

View Source components/extras/LoadableButton.tsx, line 17