<template>
  ...
  <Spinner :status="isLoading" />
  ...
</template>

<script setup lang="ts">
  const isLoading = ref<boolean>(false);
  
  const onClickSave = () => {
    isLoading.value = true;
    
    // ...
    
    isLoading.value = false;
  };
</script>
