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