<script>
import MenuListItemImplementation from './MenuListItemImplementation.vue'
import MenuListItemGroup from "@frames/AppContainer/MenuList/MenuListItemGroup.vue";

export default {
  name: 'MenuListItem',
  components: {MenuListItemGroup, MenuListItemImplementation},
  //eslint-disable-next-line
  props: ['type', 'menuItem', 'baseClass', 'routeName'],
}

</script>


<template>
  <MenuListItemImplementation
    :type="type"
    :menuItem="menuItem"
    :baseClass="baseClass"
    :routeName="routeName"
  >
    <MenuListItemGroup
      v-if="type === 'group'"
      :type="type"
      :baseClass="baseClass"
      :menuItem="menuItem"
      :routeName="routeName"
    />
  </MenuListItemImplementation>
</template>

