mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-13 17:57:06 +00:00
6300923601
Merge UserMenu into UserLinks for legacy and modern Add a story for the UserLinks menu Fixes: rendering of Skin (legacy) personal tools (the user icon no longer overlaps) Change-Id: I491ebb3962780bf2cf7f1dfb4dd09d576c294366
15 lines
351 B
JavaScript
15 lines
351 B
JavaScript
import menuTemplate from '!!raw-loader!../includes/templates/Menu.mustache';
|
|
import { helperMakeMenuData } from './utils';
|
|
|
|
/**
|
|
* @type {MenuDefinition}
|
|
*/
|
|
const defaultMenu = helperMakeMenuData(
|
|
'generic',
|
|
`<li><a href='#'>Item 1</a></li>
|
|
<li><a href='#'>Item 2</a></li>
|
|
<li><a href='#'>Item 3</a></li>`
|
|
);
|
|
|
|
export { menuTemplate, defaultMenu };
|