2019-06-27 22:55:22 +08:00

16 lines
345 B
JavaScript

import React from 'react';
import { linkTo } from '@storybook/addon-links';
import { Welcome } from '@storybook/react/demo';
export default {
title: 'Other|Demo/Welcome',
parameters: {
component: Welcome,
},
};
export const toStorybook = () => <Welcome showApp={linkTo('Button')} />;
toStorybook.story = {
name: 'to Storybook',
};