<template>
  <SettingsItem :label="label">
    <template #default>
      <OcImagePicker v-model="model" class="tw:w-30"/>
    </template>
    <template #help><slot></slot></template>
  </SettingsItem>
</template>

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

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

<style scoped>

</style>
