mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 15:10:06 +00:00
Backport of #8205 to `cloud/1.37` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8234-backport-cloud-1-37-feat-ui-add-shadcn-vue-Select-components-2f06d73d365081eb9437d7ef7487ca05) by [Unito](https://www.unito.io) Co-authored-by: Alexander Brown <drjkl@comfy.org> Co-authored-by: Amp <amp@ampcode.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
18 lines
446 B
Vue
18 lines
446 B
Vue
<script setup lang="ts">
|
|
import type { SelectGroupProps } from 'reka-ui'
|
|
import { SelectGroup } from 'reka-ui'
|
|
import type { HTMLAttributes } from 'vue'
|
|
|
|
import { cn } from '@/utils/tailwindUtil'
|
|
|
|
const { class: className, ...restProps } = defineProps<
|
|
SelectGroupProps & { class?: HTMLAttributes['class'] }
|
|
>()
|
|
</script>
|
|
|
|
<template>
|
|
<SelectGroup :class="cn('w-full', className)" v-bind="restProps">
|
|
<slot />
|
|
</SelectGroup>
|
|
</template>
|