code: function(context) {
        context.icon = 'loading';
        context.disabled = true;
        if (this.props.loadingMessage) {
          context.children = this.props.loadingMessage;
        }
      }
docs: apply a loading state to a button