mediawiki-skins-Vector/stories/MenuDropdown.stories.js
Jan Drewniak 697b5deeda [Refactor] Split MenuDropdown.less for modern and legacy
Splits MenuDropdown styles into modern and legacy styles.

Leaves a common MenuDropdownCheckbox.less file (for lack
of a better name) for common styles related to the checkbox
behaviour and dropdown menu resets.

Adds a new file in common/mixins.less for a shared
dropdown mixin.

Bug: T312157
Change-Id: Ib60b25ea3121843ed5ed54820d6295a81289b332
2022-07-25 20:20:18 +00:00

12 lines
399 B
JavaScript

import mustache from 'mustache';
import '../resources/skins.vector.styles/components/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 );