<script setup lang='ts'>
import {NIcon} from 'naive-ui';

defineOptions({name: 'MenuIcon'});

const props = defineProps<{icon: string}>();
</script>

<template>
  <NIcon>
    <component :is="props.icon" theme="filled" />
  </NIcon>
</template>

