2020-01-09 22:11:00 +00:00
|
|
|
import mustache from 'mustache';
|
2020-02-28 22:17:31 +00:00
|
|
|
import { personalMenuTemplate, PERSONAL_MENU_TEMPLATE_DATA } from './PersonalMenu.stories.data';
|
2020-02-28 20:06:33 +00:00
|
|
|
import '../resources/skins.vector.styles/PersonalMenu.less';
|
2020-01-09 22:11:00 +00:00
|
|
|
import '../.storybook/common.less';
|
|
|
|
|
|
|
|
export default {
|
2020-02-28 22:17:31 +00:00
|
|
|
title: 'Personal Menu'
|
2020-01-09 22:11:00 +00:00
|
|
|
};
|
|
|
|
|
2020-02-17 19:49:43 +00:00
|
|
|
export const loggedOut = () => mustache.render( personalMenuTemplate,
|
|
|
|
PERSONAL_MENU_TEMPLATE_DATA.loggedOut );
|
2020-01-09 22:11:00 +00:00
|
|
|
|
2020-02-17 19:49:43 +00:00
|
|
|
export const loggedInWithEcho = () => mustache.render( personalMenuTemplate,
|
|
|
|
PERSONAL_MENU_TEMPLATE_DATA.loggedInWithEcho );
|
2020-01-09 22:11:00 +00:00
|
|
|
|
2020-02-17 19:49:43 +00:00
|
|
|
export const loggedInWithULS = () => mustache.render( personalMenuTemplate,
|
|
|
|
PERSONAL_MENU_TEMPLATE_DATA.loggedInWithULS );
|