18 lines
534 B
Vue
18 lines
534 B
Vue
<template>
|
|
<SelectItem :value="value" :disabled="disabled" class="">
|
|
<SelectItemText class="">{{ label }}</SelectItemText>
|
|
<SelectItemIndicator class="">
|
|
<Icon icon="radix-icons:check" />
|
|
</SelectItemIndicator>
|
|
</SelectItem>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { Icon } from '@iconify/vue/dist/iconify.js';
|
|
import { SelectItem } from 'radix-vue';
|
|
const { disabled = false, value } = defineProps<{
|
|
disabled?: boolean
|
|
value: NonNullable<any>
|
|
label: string
|
|
}>();
|
|
</script> |