mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-14 11:15:33 +00:00
7909cf1eb6
- Fixes logged in and logged out links in the user links storybook - Fixes type def warnings by importing defs - Update the user page styles in storybook Bug: T284584 Change-Id: I8e56df16617f71be89ac8d3094497cdb0daa64ef
18 lines
387 B
JavaScript
18 lines
387 B
JavaScript
/**
|
|
* @external MenuDefinition
|
|
*/
|
|
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 };
|