mediawiki-skins-Vector/stories/MenuTabs.stories.js

14 lines
545 B
JavaScript
Raw Normal View History

import mustache from 'mustache';
import { menuTemplate as vectorTabsTemplate } from './Menu.stories.data';
import { namespaceTabsData, pageActionsData } from './MenuTabs.stories.data';
import '../resources/skins.vector.styles/components/MenuTabs.less';
import '../resources/skins.vector.styles/TabWatchstarLink.less';
export default {
title: 'MenuTabs'
};
export const pageActionTabs = () => mustache.render( vectorTabsTemplate, pageActionsData );
export const namespaceTabs = () => mustache.render( vectorTabsTemplate, namespaceTabsData );