element-plus/docs/examples/popconfirm/customize.vue
2022-05-03 14:02:56 +08:00

18 lines
384 B
Vue

<template>
<el-popconfirm
confirm-button-text="OK"
cancel-button-text="No, Thanks"
:icon="InfoFilled"
icon-color="#626AEF"
title="Are you sure to delete this?"
>
<template #reference>
<el-button>Delete</el-button>
</template>
</el-popconfirm>
</template>
<script setup lang="ts">
import { InfoFilled } from '@element-plus/icons-vue'
</script>