ae0acf84d0
Standardize import paths across UI components to use ~/lib/utils alias instead of @/lib/utils for better consistency and maintainability.
16 lines
311 B
Vue
16 lines
311 B
Vue
<script lang="ts" setup>
|
|
import type { HtmlHTMLAttributes } from 'vue'
|
|
import { cn } from '~/lib/utils'
|
|
|
|
|
|
const props = defineProps<{
|
|
class?: HtmlHTMLAttributes['class']
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div :class="cn('grid gap-1.5 p-4 text-center sm:text-left', props.class)">
|
|
<slot />
|
|
</div>
|
|
</template>
|