Line data Source code
1 : <template>
2 2355 : <div
3 : :class="
4 : cn(
5 : 'flex shrink-0 cursor-pointer items-center justify-center rounded-lg border-none bg-secondary p-0 shadow-sm outline-hidden transition-all duration-200',
6 : backgroundClass
7 : )
8 : "
9 : >
10 : <slot></slot>
11 : </div>
12 : </template>
13 :
14 : <script setup lang="ts">
15 : import { cn } from '@comfyorg/tailwind-utils'
16 :
17 : const { backgroundClass } = defineProps<{
18 : backgroundClass?: string
19 : }>()
20 : </script>
|