ant-design-vue/components/image/demo/index.vue
bqy_fe bd87079e12
feat(image): add new features (#5479)
* feat(image): add new features

* fix: lint error

* update test

* update code

* update docs

* perf: reset currentIndex after close

* update code

* update code

* update code

* update code

* update code

* add rootClassName props

* fix lint
2022-04-14 09:54:45 +08:00

40 lines
890 B
Vue

<template>
<demo-sort>
<basic />
<fallback />
<placeholder />
<preview-group />
<previewGroupVisibleVue />
<previewSrc />
<controlled-preview />
</demo-sort>
</template>
<script lang="ts">
import Basic from './basic.vue';
import Fallback from './fallback.vue';
import Placeholder from './placeholder.vue';
import previewSrc from './preview-src.vue';
import PreviewGroup from './preview-group.vue';
import ControlledPreview from './controlled-preview.vue';
import previewGroupVisibleVue from './preview-group-visible.vue';
import CN from '../index.zh-CN.md';
import US from '../index.en-US.md';
import { defineComponent } from 'vue';
export default defineComponent({
CN,
US,
components: {
Basic,
Fallback,
previewSrc,
Placeholder,
PreviewGroup,
ControlledPreview,
previewGroupVisibleVue,
},
});
</script>
<style></style>