Remove Storybook's demo stories

[MAILPOET-2770]
This commit is contained in:
Ján Mikláš
2020-04-29 14:02:50 +02:00
committed by Veljko V
parent b4a9b942f3
commit 30ba93ca2e
2 changed files with 0 additions and 37 deletions

View File

@@ -1,23 +0,0 @@
import React from 'react';
import { action } from '@storybook/addon-actions';
import { Button } from '@storybook/react/demo';
export default {
title: 'Button',
component: Button,
};
export const Text = () => (
<Button onClick={action('clicked')}>
Hello Button
<img src="/assets/img/handle.png" alt="" />
</Button>
);
export const Emoji = () => (
<Button onClick={action('clicked')}>
<span role="img" aria-label="so cool">
😀 😎 👍 💯
</span>
</Button>
);

View File

@@ -1,14 +0,0 @@
import React from 'react';
import { linkTo } from '@storybook/addon-links';
import { Welcome } from '@storybook/react/demo';
export default {
title: 'Welcome',
component: Welcome,
};
export const ToStorybook = () => <Welcome showApp={linkTo('Button')} />;
ToStorybook.story = {
name: 'to Storybook',
};