<template>
  <SettingsItem :label="label">
    <template #default>
      <Switcher v-model="model"/>
    </template>
    <template #help>
      <slot></slot>
    </template>
  </SettingsItem>
</template>

<script setup>
import Switcher from "@/components/Switcher.vue";
import SettingsItem from "@/components/SettingsItem.vue";

const model = defineModel();
const props = defineProps({
  label: {
    type: String,
    default: '',
  },
});
</script>

<style scoped>

</style>
