ant-design-vue/components/tabs/demo/index.vue
tangjinzhou 75cf264040
refactor: tabs & card (#4732)
* 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
2021-10-07 09:23:36 +08:00

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>