[新增] icon 组件

This commit is contained in:
就眠仪式
2021-09-27 06:35:26 +08:00
parent 8affd293bc
commit 5df6cfcbaf
7 changed files with 74 additions and 9 deletions

View File

@@ -1,7 +1,10 @@
<template>
<button class="layui-btn">按钮</button>
<i class="layui-icon" :class="[type]"></i>
</template>
<script setup name="LayButton" lang="ts">
const props =
defineProps<{
type?: string
}>()
</script>