Files
woodpecker/web/src/components/atomic/Error.vue
renovate[bot] 981d5fc55b fix(deps): update dependency tailwindcss to v4 - abandoned (#4778)
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2025-02-14 09:12:16 +02:00

20 lines
418 B
Vue

<template>
<div
class="border-wp-error-200 bg-wp-error-100 flex items-center gap-2 rounded-md border border-l-4 border-solid p-2 text-white"
>
<Icon v-if="!textOnly" name="alert" />
<slot>
<span class="whitespace-pre">{{ text }}</span>
</slot>
</div>
</template>
<script lang="ts" setup>
import Icon from './Icon.vue';
defineProps<{
textOnly?: boolean;
text?: string;
}>();
</script>