<template>
  <div className="tableSelect" style="margin-left: 0">
    <a-select :value="value" dropdownClassName="tabledropdown">
      <template :key="index" v-for="(item, index) in $slots.default()">
        <a-select-option v-if="item.children!=='v-if'" :value="index">
          <component :is="item"></component>
        </a-select-option>
      </template>
    </a-select>
  </div>
</template>
<script setup>
import {defineProps} from "vue";
defineProps({
  value: {
    type: String,
    default: ''
  }
})
</script>
