mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
9be58078d2
* feat(demo): A-B * feat(demo): update B-checkbox * feat(demo): update CheckBox -DatePicker * feat(demo): update DatePicker - Form * feat(demo): update Form - List * feat(demo): update List-pagination * feat(demo): update List - skeleton * feat(demo): update skeleton - switch * feat(demo): update skeleton - switch * feat(demo): update switch - upload * feat(demo): update watermark * fix(demo): del hashId
32 lines
472 B
Vue
32 lines
472 B
Vue
<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" setup>
|
|
import { SmileTwoTone } from '@ant-design/icons-vue';
|
|
</script>
|