mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-25 08:05:51 +00:00
3ed167f318
* add stories for buttons and icons using wvui and mwui * Update user link stories * Add the vector-menu-dropdown-noicon class to more and variants menu * Fixes the language button story and simplifies its code. * Updates Hooks::makeButtonIcon to Hooks::makeIcon which reflects the method purpose more. It doesn't output button classes. Bug: T289514 Change-Id: Ifd750da0c0181ec56f39ff00d653e88bfc848038
11 lines
360 B
JavaScript
11 lines
360 B
JavaScript
import mustache from 'mustache';
|
|
import '../resources/skins.vector.styles/LanguageButton.less';
|
|
import { vectorMenuTemplate } from './MenuDropdown.stories.data';
|
|
import { languageData } from './LanguageButton.stories.data';
|
|
|
|
export default {
|
|
title: 'LanguageButton'
|
|
};
|
|
|
|
export const languageButton = () => mustache.render( vectorMenuTemplate, languageData );
|