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/result/demo/customIcon.vue

38 lines
581 B

<docs>
---
order: 7
title:
zh-CN: 自定义 icon
en-US: Custom icon
---
## zh-CN
自定义 icon
## en-US
Custom icon.
</docs>
<template>
<a-result title="Great, we have done all the operations!">
<template #icon>
<smile-twoTone />
</template>
<template #extra>
<a-button type="primary">Next</a-button>
</template>
</a-result>
</template>
<script lang="ts">
import { SmileTwoTone } from '@ant-design/icons-vue';
import { defineComponent } from 'vue';
export default defineComponent({
components: {
SmileTwoTone,
},
});
</script>