mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 21:18:14 +08:00
75cf264040
* refactor: tabs * refactor: tabs * fix: tabs hotreload error * refactor: rename useRef * feat: add leftExtra rightExtra * refactor: tabs * test: update tabs test * refactor: card * doc: update tabs demo * refactor: add card style * style: update vue dep
61 lines
1.2 KiB
Vue
61 lines
1.2 KiB
Vue
<template>
|
|
<demo-sort :cols="1">
|
|
<Basic />
|
|
<Disabled />
|
|
<Centered />
|
|
<Icon />
|
|
<Slide />
|
|
<Extra />
|
|
<Size />
|
|
<Position />
|
|
<Card />
|
|
<EditableCard />
|
|
<CardTop />
|
|
<CustomAddTrigger />
|
|
<CustomTabBar />
|
|
</demo-sort>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Basic from './basic.vue';
|
|
import CardTop from './card-top.vue';
|
|
import Card from './card.vue';
|
|
import CustomAddTrigger from './custom-add-trigger.vue';
|
|
import Disabled from './disabled.vue';
|
|
import EditableCard from './editable-card.vue';
|
|
import Extra from './extra.vue';
|
|
import Icon from './icon.vue';
|
|
import Position from './position.vue';
|
|
import Size from './size.vue';
|
|
import Slide from './slide.vue';
|
|
import CustomTabBar from './custom-tab-bar.vue';
|
|
import Centered from './centered.vue';
|
|
import CN from '../index.zh-CN.md';
|
|
import US from '../index.en-US.md';
|
|
import { defineComponent } from 'vue';
|
|
|
|
export default defineComponent({
|
|
category: 'Components',
|
|
subtitle: '标签页',
|
|
type: 'Data Display',
|
|
title: 'Tabs',
|
|
CN,
|
|
US,
|
|
components: {
|
|
Centered,
|
|
Basic,
|
|
Card,
|
|
CardTop,
|
|
CustomAddTrigger,
|
|
Disabled,
|
|
EditableCard,
|
|
Extra,
|
|
Icon,
|
|
Position,
|
|
Size,
|
|
Slide,
|
|
CustomTabBar,
|
|
},
|
|
});
|
|
</script>
|