lint:fix all
This commit is contained in:
@@ -1,10 +1,20 @@
|
||||
<template>
|
||||
<UPage>
|
||||
<NuxtLink v-if="to" :to="to">
|
||||
<UAlert :icon :title :color="color" :variant="variant" :description="to"
|
||||
class="mt-2 mb-3 text-black dark:text-white" :ui="{
|
||||
<NuxtLink
|
||||
v-if="to"
|
||||
:to="to"
|
||||
>
|
||||
<UAlert
|
||||
:icon
|
||||
:title
|
||||
:color="color"
|
||||
:variant="variant"
|
||||
:description="to"
|
||||
class="mt-2 mb-3 text-black dark:text-white"
|
||||
:ui="{
|
||||
icon: iconSize
|
||||
}">
|
||||
}"
|
||||
>
|
||||
<slot />
|
||||
</UAlert>
|
||||
</NuxtLink>
|
||||
@@ -12,20 +22,18 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
const {
|
||||
variant = 'subtle',
|
||||
title,
|
||||
icon = 'lucide:bookmark',
|
||||
color = 'primary',
|
||||
color = 'primary'
|
||||
} = defineProps<{
|
||||
color?: 'primary' | 'error' | 'secondary' | 'success' | 'info' | 'warning' | 'neutral';
|
||||
description?: string;
|
||||
title?: string;
|
||||
to?: string;
|
||||
icon?: string;
|
||||
iconSize?: string;
|
||||
variant?: 'subtle' | 'solid' | 'outline' | 'soft';
|
||||
}>();
|
||||
|
||||
color?: 'primary' | 'error' | 'secondary' | 'success' | 'info' | 'warning' | 'neutral'
|
||||
description?: string
|
||||
title?: string
|
||||
to?: string
|
||||
icon?: string
|
||||
iconSize?: string
|
||||
variant?: 'subtle' | 'solid' | 'outline' | 'soft'
|
||||
}>()
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user