feat: add vue3(element-plus)

This commit is contained in:
xingyu
2022-07-18 19:06:37 +08:00
parent c6b58dca52
commit 80a3ae8d74
423 changed files with 41039 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import Tooltip from './src/Tooltip.vue'
export { Tooltip }

View File

@@ -0,0 +1,15 @@
<script setup lang="ts">
import { propTypes } from '@/utils/propTypes'
import { ElTooltip } from 'element-plus'
defineProps({
titel: propTypes.string.def(''),
message: propTypes.string.def(''),
icon: propTypes.string.def('ep:question-filled')
})
</script>
<template>
<span>{{ titel }}</span>
<ElTooltip :content="message" placement="top">
<Icon :icon="icon" class="ml-1px relative top-1px" />
</ElTooltip>
</template>