mirror of
https://github.com/mmahdium/TorrentMax.git
synced 2026-08-17 02:24:30 +03:30
22 lines
559 B
Vue
22 lines
559 B
Vue
<script setup lang="ts">
|
|
const props = defineProps<{ message: string }>()
|
|
</script>
|
|
<template>
|
|
<div role="alert" class="alert alert-error mt-3">
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
class="h-6 w-6 shrink-0 stroke-current"
|
|
fill="none"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
stroke-width="2"
|
|
d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"
|
|
/>
|
|
</svg>
|
|
<span>Error! {{ props.message }}</span>
|
|
</div>
|
|
</template>
|