15 lines
312 B
JavaScript
15 lines
312 B
JavaScript
|
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',
|
||
|
};
|