7bb8186e43
* chore: Fix self-closing tag issues * Fix merge conflicts Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
35 lines
615 B
Vue
35 lines
615 B
Vue
<template>
|
|
<li class="sub-menu-container">
|
|
<ul class="sub-menu-li-container">
|
|
<woot-dropdown-header :title="title" />
|
|
<slot />
|
|
</ul>
|
|
</li>
|
|
</template>
|
|
<script>
|
|
import WootDropdownHeader from 'shared/components/ui/dropdown/DropdownHeader';
|
|
|
|
export default {
|
|
name: 'WootDropdownMenu',
|
|
componentName: 'WootDropdownMenu',
|
|
|
|
components: {
|
|
WootDropdownHeader,
|
|
},
|
|
props: {
|
|
title: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.sub-menu-container {
|
|
margin-top: var(--space-micro);
|
|
}
|
|
|
|
.sub-menu-li-container {
|
|
margin: 0;
|
|
}
|
|
</style>
|