{"size": 332, "ext": "js", "max_stars_repo_path": "examples/svelte-kitchen-sink/src/stories/addon-links.stories.js", "max_stars_repo_name": "adrian-potepa/storybook", "max_stars_repo_stars_event_min_datetime": "2019-11-05T14:43:09.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-01T03:32:58.000Z", "max_issues_repo_path": "examples/svelte-kitchen-sink/src/stories/addon-links.stories.js", "max_issues_repo_name": "adrian-potepa/storybook", "max_issues_repo_issues_event_min_datetime": "2019-07-30T20:17:45.000Z", "max_issues_repo_issues_event_max_datetime": "2021-08-22T18:20:34.000Z", "max_forks_repo_path": "examples/svelte-kitchen-sink/src/stories/addon-links.stories.js", "max_forks_repo_name": "adrian-potepa/storybook", "max_forks_repo_forks_event_min_datetime": "2020-05-26T22:18:06.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-10T17:38:42.000Z"}
{"max_stars_count": 2, "max_issues_count": 233, "max_forks_count": 3, "avg_line_length": 17.4736842105, "max_line_length": 59, "alphanum_fraction": 0.6626506024}
import { linkTo } from '@storybook/addon-links';

import ActionLinkView from './views/ActionLinkView.svelte';

export default {
  title: 'Addon|Links',
};

export const goToWelcomeView = () => ({
  Component: ActionLinkView,
  on: {
    click: linkTo('Welcome'),
  },
});

goToWelcomeView.story = {
  name: 'Go to welcome view',
};
