refactor(ui): improve the charging stations list styles
[e-mobility-charging-stations-simulator.git] / ui / web / src / components / buttons / ReloadButton.vue
index 91ef548324ac0fa3ca4bc66ae94707b74c2a6f0b..3ff4bc89915ca838c9b87ee255bcc53a59ecaadb 100644 (file)
@@ -1,15 +1,16 @@
 <template>
   <FlatButton>
-    <span style="display: inline-block" :class="{ spin: props.loading }"> &#8635; </span>
+    <span style="display: inline-block" :class="{ spin: loading }"> &#8635; </span>
   </FlatButton>
 </template>
 
 <script setup lang="ts">
-import FlatButton from '@/components/buttons/FlatButton.vue';
+import { defineProps } from 'vue'
+import FlatButton from '@/components/buttons/FlatButton.vue'
 
-const props = defineProps<{
-  loading: boolean;
-}>();
+defineProps<{
+  loading: boolean
+}>()
 </script>
 
 <style>