/** @jsx m */

import m from 'mithril';

import { linkTo } from '@storybook/addon-links';
import Button from '../Button';

export default {
  title: 'Addons/Links',
};

export const Story1 = () => ({
  view: () => <Button onclick={linkTo('Welcome')}>This buttons links to Welcome</Button>,
});
Story1.storyName = 'Go to welcome';
