element-plus/docs/examples/link/with-icon.vue
2021-12-04 11:20:06 +08:00

12 lines
277 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-vue'
</script>