mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 12:48:04 +08:00
18 lines
380 B
Vue
18 lines
380 B
Vue
<template>
|
|
<el-popconfirm
|
|
confirm-button-text="OK"
|
|
cancel-button-text="No, Thanks"
|
|
:icon="InfoFilled"
|
|
icon-color="red"
|
|
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>
|