mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-14 18:11:48 +08:00

* fix(components): empty icon component judgment * revert: globals components * fix(components): el-icon missing import * fix: use shallowRef for icon components * refactor: remove shallowRef * fix: remove unused code * fix: social-link icon size * fix: time picker icon * fix: v-if judge
13 lines
466 B
Vue
13 lines
466 B
Vue
<template>
|
|
<el-button type="primary" :icon="Edit"></el-button>
|
|
<el-button type="primary" :icon="Share"></el-button>
|
|
<el-button type="primary" :icon="Delete"></el-button>
|
|
<el-button type="primary" :icon="Search">Search</el-button>
|
|
<el-button type="primary">
|
|
Upload<el-icon class="el-icon--right"><Upload /></el-icon>
|
|
</el-button>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import { Edit, Share, Delete, Search, Upload } from '@element-plus/icons'
|
|
</script>
|