element-plus/docs/examples/link/with-icon.vue
2021-10-28 06:18:09 +08:00

12 lines
273 B
Vue

<template>
<div>
<el-link :icon="Edit">Edit</el-link>
<el-link>
Check<el-icon class="el-icon--right"><icon-view /></el-icon>
</el-link>
</div>
</template>
<script setup lang="ts">
import { Edit, View as IconView } from '@element-plus/icons'
</script>