I am using the Spinner component globally, as suggested in the documentation. The "createSpinner" function, through the SpinnerArgs interface, allows for setting a label to the spinner.
Our spinner is triggered for loading different types of data at different times. As a result, we need to change the label of the spinner every time we trigger it. (i.e. "Loading user profile....", "Loading xxx data...", etc)
So we need a way to set the label dynamically when the "showSpinner" method is called.