<template>
  <span
    class="badge rounded-pill me-1"
    :class="{
      'bg-warning': new_emergency === 'yes',
      'bg-secondary': new_emergency === 'no',
    }"
  >
    {{ trans(CHILL_TICKET_TICKET_BANNER_EMERGENCY) }}
  </span>
</template>
<script setup lang="ts">
import { trans, CHILL_TICKET_TICKET_BANNER_EMERGENCY } from "translator";

defineProps<{ new_emergency: string }>();
</script>
