2020-02-14 20:33:54 +00:00
|
|
|
import mustache from 'mustache';
|
|
|
|
import '../.storybook/common.less';
|
2020-02-28 20:06:33 +00:00
|
|
|
import '../resources/skins.vector.styles/Sidebar.less';
|
|
|
|
import '../resources/skins.vector.styles/Portal.less';
|
2020-02-17 19:49:43 +00:00
|
|
|
import { sidebarTemplate, SIDEBAR_DATA, SIDEBAR_TEMPLATE_PARTIALS } from './sidebar.stories.data';
|
2020-02-14 20:33:54 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Sidebar'
|
|
|
|
};
|
|
|
|
|
2020-02-17 19:49:43 +00:00
|
|
|
export const sidebarWithNoPortals = () => mustache.render(
|
|
|
|
sidebarTemplate, SIDEBAR_DATA.withNoPortals, SIDEBAR_TEMPLATE_PARTIALS
|
2020-02-14 20:33:54 +00:00
|
|
|
);
|
|
|
|
|
2020-02-17 19:49:43 +00:00
|
|
|
export const sidebarWithPortals = () => mustache.render(
|
|
|
|
sidebarTemplate, SIDEBAR_DATA.withPortals, SIDEBAR_TEMPLATE_PARTIALS
|
2020-02-14 20:33:54 +00:00
|
|
|
);
|
|
|
|
|
2020-02-17 19:49:43 +00:00
|
|
|
export const sidebarThirdParty = () => mustache.render(
|
|
|
|
sidebarTemplate, SIDEBAR_DATA.thirdParty, SIDEBAR_TEMPLATE_PARTIALS
|
2020-02-14 20:33:54 +00:00
|
|
|
);
|