mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
15 lines
316 B
Vue
15 lines
316 B
Vue
|
|
<script lang="ts" setup>
|
||
|
|
import { cn } from "@/lib/utils";
|
||
|
|
import type { HtmlHTMLAttributes } from "vue";
|
||
|
|
|
||
|
|
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>
|