<script setup lang="ts">
withDefaults(defineProps<{ tone?: "default" | "warning" | "danger" }>(), {
  tone: "default"
});
</script>

<template>
  <div :class="['ui-alert', `ui-alert--${tone}`]">
    <slot />
  </div>
</template>
