mediawiki-skins-Vector/stories/MenuDropdown.stories.js
jdlrobson e1d0f1e61c Storybook: Consistent styling
- Make sure common styles are loaded for all components
- Add icon in user menu

Fixes renders of:
- Language button (no top margin and button styles)
- MenuPortal (no left margins)


Change-Id: I98b4820b6d91d46fd27a1d433d5bacd187a7cbb0
2021-05-27 19:27:21 +00:00

12 lines
388 B
JavaScript

import mustache from 'mustache';
import '../resources/skins.vector.styles/MenuDropdown.less';
import { vectorMenuTemplate, moreData, variantsData } from './MenuDropdown.stories.data';
export default {
title: 'MenuDropdown'
};
export const more = () => mustache.render( vectorMenuTemplate, moreData );
export const variants = () => mustache.render( vectorMenuTemplate, variantsData );