Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Письменов Дмитрий Иванович / yourroomads

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • yourroomads
  • resources
  • js
  • Shared
  • LoadingButton.vue
  • Jonathan Reinink's avatar
    Initial commit · 14192d0e
    Jonathan Reinink committed Mar 21, 2019
    14192d0e
LoadingButton.vue 230 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<template>
  <button :disabled="loading" class="flex items-center">
    <div v-if="loading" class="spinner mr-2" />
    <slot />
  </button>
</template>

<script>
export default {
  props: {
    loading: Boolean,
  },
}
</script>