You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
545 B

<script setup lang="ts">
import type { TabItem } from '@vben-core/typings';
import { useForwardPropsEmits } from '@vben-core/shadcn-ui';
import { ChromeTabs } from './components';
import { TabsProps } from './types';
interface Props extends TabsProps {}
defineOptions({
name: 'TabsView',
});
const props = withDefaults(defineProps<Props>(), {});
const emit = defineEmits<{ close: [string]; unPushPin: [TabItem] }>();
const forward = useForwardPropsEmits(props, emit);
</script>
<template>
<ChromeTabs v-bind="forward" />
</template>