From 23b5cc80ba02936659564dd03b173d3214ce5978 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 13 Sep 2022 19:59:06 +1000
Subject: Use Vue Composition API and ESLint

---
 src/components/SButton.vue | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

(limited to 'src/components/SButton.vue')

diff --git a/src/components/SButton.vue b/src/components/SButton.vue
index 508f8e6..884fa30 100644
--- a/src/components/SButton.vue
+++ b/src/components/SButton.vue
@@ -5,12 +5,8 @@
 </button>
 </template>
 
-<script lang="ts">
-import {defineComponent, PropType} from 'vue';
-
-export default defineComponent({
-	props: {
-		disabled: {type: Boolean, default: false},
-	},
+<script setup lang="ts">
+const props = defineProps({
+	disabled: {type: Boolean, default: false},
 });
 </script>
-- 
cgit v1.2.3

