mirror of
https://github.com/rustfs/console.git
synced 2026-11-01 13:11:59 +08:00
- Auto-format all files to comply with Prettier rules - Fix code style issues in 545 files
18 lines
511 B
Vue
18 lines
511 B
Vue
<script setup lang="ts">
|
|
import type { SeparatorProps } from 'reka-ui'
|
|
import type { HTMLAttributes } from 'vue'
|
|
import { reactiveOmit } from '@vueuse/core'
|
|
import { Separator } from 'reka-ui'
|
|
import { cn } from '@/lib/utils'
|
|
|
|
const props = defineProps<SeparatorProps & { class?: HTMLAttributes['class'] }>()
|
|
|
|
const delegatedProps = reactiveOmit(props, 'class')
|
|
</script>
|
|
|
|
<template>
|
|
<Separator v-bind="delegatedProps" :class="cn('-mx-1 h-px bg-border', props.class)">
|
|
<slot />
|
|
</Separator>
|
|
</template>
|