mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 20:21:07 +08:00
10 lines
275 B
JavaScript
10 lines
275 B
JavaScript
import React from 'react';
|
|
import LinkTo from '@storybook/addon-links/react';
|
|
|
|
export default {
|
|
title: 'Addons/Links/Link',
|
|
};
|
|
|
|
export const First = () => <LinkTo story="Second">Go to Second</LinkTo>;
|
|
export const Second = () => <LinkTo story="First">Go to First</LinkTo>;
|