<template>
  <p>
    <span class="text-xs font-medium">
      {{ option.name }}: {{ option.value }} <span v-if="option.price"> ({{ option.price_prefix }}<Price :value="option.price"/>)</span>
    </span>
  </p>
</template>

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

const props = defineProps({
  option: {
    type: Object,
    required: true,
  },
});
</script>
