mediawiki-skins-Vector/stories/Menu.stories.data.js
Ed Sanders 90b5ff5149 Define documentable types in eslintrc instead of inline
Change-Id: I80f0557a6355208d2694f3776cce2ee858573a9c
2021-10-18 18:08:32 +00:00

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 };