mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
20 lines
365 B
Vue
20 lines
365 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from "vue";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const props = defineProps<{ class?: HTMLAttributes["class"] }>();
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
:class="
|
|
cn(
|
|
'flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2',
|
|
props.class,
|
|
)
|
|
"
|
|
>
|
|
<slot />
|
|
</div>
|
|
</template>
|