Add loading variant for GlBadge
Proposal
To add isLoading prop to GlBadge component
Example
<gl-badge :is-loading="isLoading" variant="info">Validating...</gl-badge>
Above code should display a badge with spinner:
Constraints
- This cannot be used in conjunction with the
iconprop
Why
This should help users to avoid customizing the default slot to add a spinner
Edited by Dheeraj Joshi