2021-07-23 09:54:07 +00:00
|
|
|
<template>
|
|
|
|
<li class="sub-menu-container">
|
|
|
|
<ul class="sub-menu-li-container">
|
2021-12-29 16:54:11 +00:00
|
|
|
<woot-dropdown-header :title="title" />
|
2022-06-10 13:59:52 +00:00
|
|
|
<slot />
|
2021-07-23 09:54:07 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</template>
|
|
|
|
<script>
|
2021-12-29 16:54:11 +00:00
|
|
|
import WootDropdownHeader from 'shared/components/ui/dropdown/DropdownHeader';
|
|
|
|
|
2021-07-23 09:54:07 +00:00
|
|
|
export default {
|
|
|
|
name: 'WootDropdownMenu',
|
|
|
|
componentName: 'WootDropdownMenu',
|
|
|
|
|
2021-12-29 16:54:11 +00:00
|
|
|
components: {
|
|
|
|
WootDropdownHeader,
|
|
|
|
},
|
2021-07-23 09:54:07 +00:00
|
|
|
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>
|