feat: add switch component
This commit is contained in:
parent
65793adb1d
commit
aa0c77f480
1 changed files with 9 additions and 0 deletions
9
src/components/shared/SwitchItem.vue
Normal file
9
src/components/shared/SwitchItem.vue
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
defineProps<{
|
||||||
|
value: string;
|
||||||
|
}>();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<slot :name="value" />
|
||||||
|
</template>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue