<template>
  <el-menu-item :index="name" :key="name">
    <i :class="'iconfont ' + meta.icon" v-if="meta.icon"></i>
    <span>{{ meta.title }}</span>
  </el-menu-item>
</template>

<script lang="ts" setup>
defineProps<{ meta: any; name: string }>();
</script>
