mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 10:01:05 +08:00
15 lines
312 B
TypeScript
15 lines
312 B
TypeScript
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',
|
|
};
|