mediawiki-skins-Vector/stories/PersonalMenu.stories.js
Nicholas Ray e8a403e342 Rename Storybook Files to Reflect Their Respective Component
* Following up on the work from
Idf90ee2a0f1c1d08a31cf50099c0bebc7b67e619, this commit renames the
storybook files/storybook names to their respective component name.

e.g. personalNavigation.stories.js => PersonalMenu.stories.js

Bug: T243281
Change-Id: I68054663c5a597f90a826b6f75bf399382dca609
2020-03-03 18:32:55 +00:00

18 lines
637 B
JavaScript

import mustache from 'mustache';
import { personalMenuTemplate, PERSONAL_MENU_TEMPLATE_DATA } from './PersonalMenu.stories.data';
import '../resources/skins.vector.styles/PersonalMenu.less';
import '../.storybook/common.less';
export default {
title: 'Personal Menu'
};
export const loggedOut = () => mustache.render( personalMenuTemplate,
PERSONAL_MENU_TEMPLATE_DATA.loggedOut );
export const loggedInWithEcho = () => mustache.render( personalMenuTemplate,
PERSONAL_MENU_TEMPLATE_DATA.loggedInWithEcho );
export const loggedInWithULS = () => mustache.render( personalMenuTemplate,
PERSONAL_MENU_TEMPLATE_DATA.loggedInWithULS );