Compare commits

...

1 Commits

Author SHA1 Message Date
gala1234 a1b95974a9 fist implementation 2022-05-30 12:53:29 +02:00
@@ -0,0 +1,21 @@
import * as React from 'react';
import { ComponentMeta, ComponentStory } from '@storybook/react';
import { MemoryRouter } from 'react-router-dom';
import { PageMixnodes } from './index';
export default {
title: 'Mix Nodes Page',
component: PageMixnodes,
decorators: [
(Story) => (
<MemoryRouter>
<Story />
</MemoryRouter>
),
], //Wrapping the story inside the router
} as ComponentMeta<typeof PageMixnodes>;
const Template: ComponentStory<typeof PageMixnodes> = (args) => <PageMixnodes {...args} />;
export const empty = Template.bind({});
empty.args = {};