build(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git] / ui / web / src / components / buttons / ReloadButton.vue
index c43a4688420f9c16b0165892ecc7a5593b4e7514..385e145462d369744e1757b04f9c48abca4a82c0 100644 (file)
@@ -1,13 +1,13 @@
 <template>
-  <FlatButton>
-    <span style="display: inline-block" :class="{ spin: props.loading }"> &#8635; </span>
-  </FlatButton>
+  <Button>
+    <span :class="{ spin: loading }"> &#8635; </span>
+  </Button>
 </template>
 
 <script setup lang="ts">
-import FlatButton from '@/components/buttons/FlatButton.vue'
+import Button from '@/components/buttons/Button.vue'
 
-const props = defineProps<{
+defineProps<{
   loading: boolean
 }>()
 </script>
@@ -23,9 +23,6 @@ const props = defineProps<{
 }
 
 .spin {
-  animation-name: rotation;
-  animation-duration: 2s;
-  animation-iteration-count: infinite;
-  animation-timing-function: linear;
+  animation: rotation 2s linear infinite;
 }
 </style>