import { html } from 'lit-html';
import { action } from '@storybook/addon-actions';
import { linkTo } from '@storybook/addon-links';
export default {
title: 'Button',
argTypes: {
children: { control: 'text' },
},
};
const ButtonStory = (args) => html`
`;
export const Text = ButtonStory.bind({});
Text.args = {
children: 'Button',
onClick: action('onClick'),
};
export const Emoji = ButtonStory.bind({});
Emoji.args = {
children: '😀 😎 👍 💯',
};
export const TextWithAction = () => html`
`;
TextWithAction.storyName = 'With an action';
TextWithAction.parameters = { notes: 'My notes on a button with emojis' };
export const ButtonWithLinkToAnotherStory = () => html``;
ButtonWithLinkToAnotherStory.storyName = 'button with link to another story';