mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
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>
20 lines
418 B
Vue
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>
|