<script setup lang="ts">
import { SelectValue as ShadcnSelectValue } from '@/components/core/select';
import type { UiSelectValueProps } from './types';

defineOptions({
  name: 'UiSelectValue',
});

const props = withDefaults(defineProps<UiSelectValueProps>(), {
  placeholder: undefined,
});
</script>

<template>
  <ShadcnSelectValue :placeholder="props.placeholder">
    <slot />
  </ShadcnSelectValue>
</template>
