Commit 66008c30 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'lm-add-issue-to-loading-button' into 'master'

Adds note to loading button

See merge request gitlab-org/gitlab!26123
parents a5e6144c 709ee756
<script> <script>
import { GlLoadingIcon } from '@gitlab/ui'; import { GlLoadingIcon } from '@gitlab/ui';
/* eslint-disable vue/require-default-prop */ /* eslint-disable vue/require-default-prop */
/* This is a re-usable vue component for rendering a button /*
that will probably be sending off ajax requests and need This component will be deprecated in favor of gl-button.
to show the loading status by setting the `loading` option. https://gitlab-org.gitlab.io/gitlab-ui/?path=/story/base-button--loading-button
This can also be used for initial page load when you don't https://gitlab.com/gitlab-org/gitlab/issues/207412
know the action of the button yet by setting */
`loading: true, label: undefined`.
Sample configuration:
<loading-button
:loading="true"
:label="Hello"
@click="..."
/>
*/
export default { export default {
components: { components: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment