mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
16 lines
344 B
Vue
16 lines
344 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from "vue";
|
|
import { type AlertVariants } from ".";
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes["class"];
|
|
variant?: AlertVariants["variant"];
|
|
}>();
|
|
</script>
|
|
|
|
<template>
|
|
<div :class="cn(alertVariants({ variant }), props.class)" role="alert">
|
|
<slot />
|
|
</div>
|
|
</template>
|