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.
ant-design-vue/components/spin/demo/custom-indicator.vue

32 lines
455 B

<docs>
---
order: 6
title:
zh-CN: 自定义指示符
en-US: Custom spinning indicator
---
## zh-CN
使用自定义指示符
## en-US
Use custom loading indicator.
</docs>
<template>
<a-spin :indicator="indicator" />
</template>
<script lang="ts" setup>
import { LoadingOutlined } from '@ant-design/icons-vue';
import { h } from 'vue';
const indicator = h(LoadingOutlined, {
style: {
fontSize: '24px',
},
spin: true,
});
</script>