shadcn-vue/packages/cli/test/fixtures/nuxt/components/ui/alert-dialog/AlertDialogFooter.vue
2023-09-19 00:30:11 +08:00

24 lines
361 B
Vue

<script setup lang="ts">
import { cn } from '@/lib/utils'
const props = defineProps({
class: {
type: String,
default: '',
},
})
</script>
<template>
<div
:class="
cn(
'flex flex-col space-y-2 sm:space-y-0 mt-3.5 sm:flex-row sm:justify-end sm:space-x-2',
props.class,
)
"
>
<slot />
</div>
</template>