mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
432 B
432 B
自定义图标
<n-popconfirm
positive-text="ok"
negative-text="not ok"
>
<template v-slot:icon>
<n-icon
color="red"
>
<md-hand />
</n-icon>
</template>
<template v-slot:activator>
<n-button>退出游戏</n-button>
</template>
不充钱怎么变强?
</n-popconfirm>
import mdHand from 'naive-ui/lib/icons/md-hand'
export default {
components: {
mdHand
}
}